vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Thu Feb 26 18:15:29 2015 +0100| [a56bd7ec491831228cb469af0e30c5f6d4735413] | committer: Jean-Baptiste Kempf
Avparser: Fix typo and remove trailing spaces > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a56bd7ec491831228cb469af0e30c5f6d4735413 --- modules/packetizer/avparser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/packetizer/avparser.c b/modules/packetizer/avparser.c index d172462..e800874 100644 --- a/modules/packetizer/avparser.c +++ b/modules/packetizer/avparser.c @@ -90,14 +90,14 @@ static int Open( vlc_object_t *p_this ) AVCodecParserContext * p_ctx = av_parser_init( i_avcodec_id ); if( !p_ctx ) return VLC_EGENERIC; - + AVCodec * p_codec = avcodec_find_decoder( i_avcodec_id ); if( unlikely( !p_codec ) ) { av_parser_close( p_ctx ); return VLC_EGENERIC; } - + AVCodecContext * p_codec_ctx = avcodec_alloc_context3( p_codec ); if( unlikely( !p_codec_ctx ) ) { @@ -178,11 +178,11 @@ static block_t *Packetize ( decoder_t *p_dec, block_t **pp_block ) p_block->i_pts = p_block->i_dts = VLC_TS_INVALID; return p_ret; - + out: p_sys->i_offset = 0; block_Release( *pp_block ); - *pp_block == NULL; + *pp_block = NULL; return NULL; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
