X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264.h;h=548510d793016ea8939cbd058a54345cc4877c60;hb=4299f085f45cdd8fcb3ecf681d9fef0c4b3fe207;hp=95db912465b893dfa2299f0861a357308147c56f;hpb=513673a84df5c5624686649136262c5aa14aba00;p=ffmpeg diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 95db912465b..548510d7930 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -519,6 +519,14 @@ typedef struct H264Context { int width, height; int chroma_x_shift, chroma_y_shift; + /** + * Backup frame properties: needed, because they can be different + * between returned frame and last decoded frame. + **/ + int backup_width; + int backup_height; + enum AVPixelFormat backup_pix_fmt; + int droppable; int coded_picture_number; int low_delay;