[vlc-commits] Avparser: Fix typo and remove trailing spaces
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 26 21:14:26 CET 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 26 18:15:29 2015 +0100| [ff6d03f0ec65373bbf21546865bbaf60b0ddf8c3] | committer: Jean-Baptiste Kempf
Avparser: Fix typo and remove trailing spaces
(cherry picked from commit a56bd7ec491831228cb469af0e30c5f6d4735413)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=ff6d03f0ec65373bbf21546865bbaf60b0ddf8c3
---
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 1c4cf4e..c5d2891 100644
--- a/modules/packetizer/avparser.c
+++ b/modules/packetizer/avparser.c
@@ -86,14 +86,14 @@ int OpenPacketizer( 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 ) )
{
@@ -174,11 +174,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;
}
More information about the vlc-commits
mailing list