Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 13:27:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 13:27:34 +0400
commit4ec69b10711d2dbec3eb7142102de4c36be3286d (patch)
treefaff57a67572ebb3781e82c2e285645be482f680 /source/blender/imbuf
parent388da558edd63a8a5d5d3025efd520cb97b9616a (diff)
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.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 45264fa862b..e6d09285685 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -768,8 +768,8 @@ static int ffmpeg_decode_video_frame(struct anim * anim)
== 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;