X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvt_internal.h;h=929fe423fcde525b0976ead694053f2b3e55a05d;hb=2ca65fc7b74444edd51d5803a2c1e05a801a6023;hp=fc27dad9f94111d8d1dfb5003a52e3d82c9777e3;hpb=4251e25272d6a51433805956ea26425d7ccd74cb;p=ffmpeg diff --git a/libavcodec/vt_internal.h b/libavcodec/vt_internal.h index fc27dad9f94..929fe423fcd 100644 --- a/libavcodec/vt_internal.h +++ b/libavcodec/vt_internal.h @@ -40,9 +40,7 @@ typedef struct VTContext { struct AVVideotoolboxContext *vt_ctx; // Current H264 parameters (used to trigger decoder restart on SPS changes). - uint8_t *sps; - uint32_t sps_len; - unsigned int sps_capa; + uint8_t sps[3]; bool reconfig_needed; } VTContext;