X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264.h;h=2d363c9857a7db516d2ff901ca6f25753cae64ef;hb=575ed4fe37fdb1558fbbc261661b6239d47bcd8c;hp=bf74f9c3661ed5397bc7813c49744529b5c44471;hpb=a40de9ac07fcaa91ed4d041e57c19c3bf798ebe5;p=ffmpeg diff --git a/libavcodec/h264.h b/libavcodec/h264.h index bf74f9c3661..2d363c9857a 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -892,6 +892,13 @@ void ff_h264_reset_sei(H264Context *h); */ const char* ff_h264_sei_stereo_mode(H264Context *h); +#define COPY_PICTURE(dst, src) \ +do {\ + *(dst) = *(src);\ + (dst)->f.extended_data = (dst)->f.data;\ + (dst)->tf.f = &(dst)->f;\ +} while (0) + /* * o-o o-o * / / /