Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
72992236 by Alexandre Janniaux at 2022-03-23T15:51:22+00:00
avparser: fix missing const

- - - - -
ee23251d by Alexandre Janniaux at 2022-03-23T15:51:22+00:00
avparser: remove trailing line

- - - - -


1 changed file:

- modules/packetizer/avparser.c


Changes:

=====================================
modules/packetizer/avparser.c
=====================================
@@ -103,7 +103,7 @@ int avparser_OpenPacketizer( vlc_object_t *p_this )
     if( !p_ctx )
         return VLC_EGENERIC;
 
-    AVCodec * p_codec = avcodec_find_decoder( i_avcodec_id );
+    const AVCodec * p_codec = avcodec_find_decoder( i_avcodec_id );
     if( unlikely( !p_codec ) )
     {
         av_parser_close( p_ctx );
@@ -253,4 +253,3 @@ static block_t *PacketizeClosed ( decoder_t *p_dec, block_t 
**pp_block )
         block_Release( *pp_block );
     return NULL;
 }
-



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/aa5bec3b49a790709bcf2c7d874552916da2aea1...ee23251ddfe74394e6c3aed85a92ee48ba50aa38

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/aa5bec3b49a790709bcf2c7d874552916da2aea1...ee23251ddfe74394e6c3aed85a92ee48ba50aa38
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to