[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43122] trunk/blender/source/blender/imbuf /intern/anim_movie.c: Fix #29671: Issues with .mts video files

Sergey Sharybin sergey.vfx at gmail.com
Wed Jan 4 10:27:35 CET 2012


Revision: 43122
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43122
Author:   nazgul
Date:     2012-01-04 09:27:34 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Fix #29671: Issues with .mts video files

Video frame decoding used to leave packet reading cycle before frame
is fully decoded in cases frame is encoded by several packets.

Modified Paths:
--------------
    trunk/blender/source/blender/imbuf/intern/anim_movie.c

Modified: trunk/blender/source/blender/imbuf/intern/anim_movie.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/anim_movie.c	2012-01-04 09:19:39 UTC (rev 43121)
+++ trunk/blender/source/blender/imbuf/intern/anim_movie.c	2012-01-04 09:27:34 UTC (rev 43122)
@@ -768,8 +768,8 @@
 					== AV_NOPTS_VALUE) ?
 				       -1 : (long long int)anim->pFrame->pkt_pts,
 					(long long int)anim->next_pts);
+				break;
 			}
-			break;
 		}
 		av_free_packet(&anim->next_packet);
 		anim->next_packet.stream_index = -1;



More information about the Bf-blender-cvs mailing list