diff options
author | Clément Bœsch <u@pkh.me> | 2016-06-12 20:45:43 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2016-06-12 20:53:57 +0200 |
commit | aafdad1b454c1656e6ba08822de49fb7caf924f3 (patch) | |
tree | d4f35b7c7c01ce236350bcef32e49dffda4e43c5 | |
parent | 4df944920c2b92686751fa44e4ff7429eea1ff28 (diff) | |
download | ffmpeg-aafdad1b454c1656e6ba08822de49fb7caf924f3.tar.gz |
lavc/videotoolbox: fix sps/pps mistake introduced in 1534ef87
-rw-r--r-- | libavcodec/videotoolbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index 4d86251530..6bd850a182 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -84,7 +84,7 @@ CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx) H264Context *h = avctx->priv_data; CFDataRef data = NULL; uint8_t *p; - int vt_extradata_size = 6 + 3 + h->ps.sps->data_size + 4 + h->ps.sps->data_size; + int vt_extradata_size = 6 + 3 + h->ps.sps->data_size + 4 + h->ps.pps->data_size; uint8_t *vt_extradata = av_malloc(vt_extradata_size); if (!vt_extradata) return NULL; |