diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-03 10:52:39 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-10-03 10:52:39 +0300 |
commit | 5fa5e73e81f191be0c4761bb4c517fdd39aff82e (patch) | |
tree | 139e9170b7999ffe132e33a2a3b782d2d99c07f4 /libavutil/frame.c | |
parent | 59b55619b6edef363532825c4cf16ac2bfdd21a1 (diff) | |
parent | 1aa24df74c052a73175c43e57d35b4835e537ec8 (diff) |
Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8'
* commit '1aa24df74c052a73175c43e57d35b4835e537ec8':
lavu: Deprecate AVFrame.error[]
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavutil/frame.c')
-rw-r--r-- | libavutil/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c index 7b4177bc95..4297e0741f 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -315,7 +315,11 @@ static int frame_copy_props(AVFrame *dst, const AVFrame *src, int force_copy) av_dict_copy(&dst->metadata, src->metadata, 0); +#if FF_API_ERROR_FRAME +FF_DISABLE_DEPRECATION_WARNINGS memcpy(dst->error, src->error, sizeof(dst->error)); +FF_ENABLE_DEPRECATION_WARNINGS +#endif for (i = 0; i < src->nb_side_data; i++) { const AVFrameSideData *sd_src = src->side_data[i]; |