diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-04 13:27:34 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-01-04 13:27:34 +0400 |
commit | 4ec69b10711d2dbec3eb7142102de4c36be3286d (patch) | |
tree | faff57a67572ebb3781e82c2e285645be482f680 /source/blender/imbuf | |
parent | 388da558edd63a8a5d5d3025efd520cb97b9616a (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.c | 2 |
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; |