[vlc-devel] commit: libmpeg2: reset decoder when get outpic failed - closes: #3072 ( Marian Ďurkovič )
git version control
git at videolan.org
Sat Sep 19 08:11:41 CEST 2009
vlc | branch: 1.0-bugfix | Marian Ďurkovič <md at bts.sk> | Fri Sep 18 18:22:20 2009 +0200| [4e105ff28e41d5d22a72c9e1436845119440b0d3] | committer: Marian Ďurkovič
libmpeg2: reset decoder when get outpic failed - closes: #3072
(cherry picked from commit 198199c5224bc0e51db03fc611bb6a307834933f)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e105ff28e41d5d22a72c9e1436845119440b0d3
---
modules/codec/libmpeg2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index 135e0db..701b714 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -269,7 +269,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
picture_t *p_picture = DpbNewPicture( p_dec );
if( !p_picture )
{
- /* Is it ok ? or do we need a reset ? */
+ Reset( p_dec );
block_Release( p_block );
return NULL;
}
More information about the vlc-devel
mailing list