[FFmpeg-cvslog] audiointerleave: deobfuscate a function call.

Anton Khirnov git at videolan.org
Fri Nov 2 15:12:07 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Oct 31 22:10:41 2012 +0100| [fdc867288697d8b052145e80911d2d338d7d02b7] | committer: Anton Khirnov

audiointerleave: deobfuscate a function call.

right above there is if (pkt) {<do stuff>; pkt = NULL}, so pkt is just a
fancy name for NULL at this point.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fdc867288697d8b052145e80911d2d338d7d02b7
---

 libavformat/audiointerleave.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
index e48f826..5df0bb0 100644
--- a/libavformat/audiointerleave.c
+++ b/libavformat/audiointerleave.c
@@ -130,5 +130,5 @@ int ff_audio_rechunk_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt
         }
     }
 
-    return get_packet(s, out, pkt, flush);
+    return get_packet(s, out, NULL, flush);
 }



More information about the ffmpeg-cvslog mailing list