aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-18 19:46:53 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-18 20:05:11 +0100
commit32a618a948c20f18db102d0b0976790222a57105 (patch)
treefcd797a71df2db724648fc4b5d511351003c042e /libavcodec
parent03b1470088e6e4a11e5db0efd8c26d9ac8304d31 (diff)
downloadffmpeg-32a618a948c20f18db102d0b0976790222a57105.tar.gz
vaapi_h264: Do not use deprecated header type
SEI headers should be inserted as generic raw data (the old specific type has been deprecated in libva2).
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vaapi_encode_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index 9d9611f882..9a4bd53da1 100644
--- a/libavcodec/vaapi_encode_h264.c
+++ b/libavcodec/vaapi_encode_h264.c
@@ -256,7 +256,7 @@ static int vaapi_encode_h264_write_extra_header(AVCodecContext *avctx,
ff_cbs_fragment_uninit(priv->cbc, au);
- *type = VAEncPackedHeaderH264_SEI;
+ *type = VAEncPackedHeaderRawData;
return 0;
} else {
return AVERROR_EOF;