[FFmpeg-soc] [soc]: r4291 - libavfilter/vsrc_movie.c

stefano subversion at mplayerhq.hu
Sat May 23 01:06:38 CEST 2009


Author: stefano
Date: Sat May 23 01:06:37 2009
New Revision: 4291

Log:
Use avcodec_decode_video2() rather than the deprecated
avcodec_decode_video().

Modified:
   libavfilter/vsrc_movie.c

Modified: libavfilter/vsrc_movie.c
==============================================================================
--- libavfilter/vsrc_movie.c	Fri May 22 21:04:26 2009	(r4290)
+++ libavfilter/vsrc_movie.c	Sat May 23 01:06:37 2009	(r4291)
@@ -204,8 +204,7 @@ int movie_get_frame(AVFilterLink *link)
         if(packet.stream_index == mv->videoStream)
         {
             // Decode video frame
-            avcodec_decode_video(mv->pCodecCtx, mv->pFrame, &frameFinished,
-                packet.data, packet.size);
+            avcodec_decode_video2(mv->pCodecCtx, mv->pFrame, &frameFinished, &packet);
 
             // Did we get a video frame?
             if(frameFinished)


More information about the FFmpeg-soc mailing list