diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-03 09:52:39 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-03 09:52:39 +0200 |
commit | 5fa5e73e81f191be0c4761bb4c517fdd39aff82e (patch) | |
tree | 139e9170b7999ffe132e33a2a3b782d2d99c07f4 /libavcodec/mpegpicture.c | |
parent | 59b55619b6edef363532825c4cf16ac2bfdd21a1 (diff) | |
parent | 1aa24df74c052a73175c43e57d35b4835e537ec8 (diff) | |
download | ffmpeg-5fa5e73e81f191be0c4761bb4c517fdd39aff82e.tar.gz |
Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8'
* commit '1aa24df74c052a73175c43e57d35b4835e537ec8':
lavu: Deprecate AVFrame.error[]
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.c')
-rw-r--r-- | libavcodec/mpegpicture.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index bb822b6c09..16b8f52fa7 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -387,6 +387,9 @@ int ff_mpeg_ref_picture(AVCodecContext *avctx, Picture *dst, Picture *src) dst->reference = src->reference; dst->shared = src->shared; + memcpy(dst->encoding_error, src->encoding_error, + sizeof(dst->encoding_error)); + return 0; fail: ff_mpeg_unref_picture(avctx, dst); |