mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Correctly handle empty frames
Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8c908d7d61
commit
1ba3bae800
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user