diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-02 20:42:07 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-15 16:10:11 +0100 |
commit | 54974c62982ae827becdbdb9b620b7ba75d079a0 (patch) | |
tree | b98128b3369cd366a92bba010358e9548fd356c5 /libavcodec/mss2.c | |
parent | d9ebb00dcbaac3812b8b1fbc3d6e027506c11cbc (diff) | |
download | ffmpeg-54974c62982ae827becdbdb9b620b7ba75d079a0.tar.gz |
error_resilience: decouple ER from MpegEncContext
Diffstat (limited to 'libavcodec/mss2.c')
-rw-r--r-- | libavcodec/mss2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mss2.c b/libavcodec/mss2.c index 9936272443..006432b17b 100644 --- a/libavcodec/mss2.c +++ b/libavcodec/mss2.c @@ -406,7 +406,7 @@ static int decode_wmv9(AVCodecContext *avctx, const uint8_t *buf, int buf_size, return ret; } - ff_er_frame_start(s); + ff_mpeg_er_frame_start(s); v->bits = buf_size * 8; @@ -419,7 +419,7 @@ static int decode_wmv9(AVCodecContext *avctx, const uint8_t *buf, int buf_size, ff_vc1_decode_blocks(v); - ff_er_frame_end(s); + ff_er_frame_end(&s->er); ff_MPV_frame_end(s); |