[vlc-commits] avparser: fix function parameters

Rémi Denis-Courmont git at videolan.org
Wed Jun 28 22:51:08 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 28 23:17:42 2017 +0300| [5c1023b33d3080cc3710af0dfe1264dae04f85ca] | committer: Rémi Denis-Courmont

avparser: fix function parameters

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c1023b33d3080cc3710af0dfe1264dae04f85ca
---

 modules/packetizer/avparser.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/packetizer/avparser.c b/modules/packetizer/avparser.c
index ee4493f0fd..5271d6aa23 100644
--- a/modules/packetizer/avparser.c
+++ b/modules/packetizer/avparser.c
@@ -92,7 +92,8 @@ int OpenPacketizer( vlc_object_t *p_this )
 
     unsigned i_avcodec_id;
 
-    if( !GetFfmpegCodec( p_dec->fmt_in.i_codec, NULL, &i_avcodec_id, NULL ) )
+    if( !GetFfmpegCodec( p_dec->fmt_in.i_cat, p_dec->fmt_in.i_codec,
+                         &i_avcodec_id, NULL ) )
         return VLC_EGENERIC;
 
     /* init avcodec */



More information about the vlc-commits mailing list