[FFmpeg-soc] [soc]: r1638 - libavfilter/diffs/01_ffplay_get_video_frame.diff

vitor subversion at mplayerhq.hu
Fri Dec 21 16:56:34 CET 2007


Author: vitor
Date: Fri Dec 21 16:56:34 2007
New Revision: 1638

Log:
Patch 01_ffplay_get_video_frame.diff is not supposed to 
introduce any functionality changes. This commit avoids 
a subtle one.


Modified:
   libavfilter/diffs/01_ffplay_get_video_frame.diff

Modified: libavfilter/diffs/01_ffplay_get_video_frame.diff
==============================================================================
--- libavfilter/diffs/01_ffplay_get_video_frame.diff	(original)
+++ libavfilter/diffs/01_ffplay_get_video_frame.diff	Fri Dec 21 16:56:34 2007
@@ -2,7 +2,7 @@ Index: ffplay.c
 ===================================================================
 --- ffplay.c	(revision 11293)
 +++ ffplay.c	(working copy)
-@@ -1343,49 +1343,67 @@
+@@ -1343,49 +1343,69 @@
      avcodec_default_release_buffer(c, pic);
  }
  
@@ -81,9 +81,11 @@ Index: ffplay.c
 +
 +        if (ret < 0) goto the_end;
 +
++        if (!ret)
++            continue;
++
 +        pts  = pts_int;
 +        pts /= AV_TIME_BASE;
-+        if (ret)
 +        if(output_picture2(is, frame, pts) < 0)
 +            goto the_end;
 +



More information about the FFmpeg-soc mailing list