[SCM] libav/experimental: Correctly handle empty frames
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:16:43 UTC 2013
The following commit has been merged in the experimental branch:
commit 1ba3bae800d41f239109ae82dc06617962657f48
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date: Sun Mar 9 14:15:40 2008 +0000
Correctly handle empty frames
Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index 1eb8ef0..fd2a120 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -504,6 +504,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const
} else {
c->pic.key_frame = 0;
c->pic.pict_type = FF_P_TYPE;
+ if(c->decomp_len)
c->decode_xor(c);
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list