[FFmpeg-cvslog] lavc/videotoolbox: fix sps/pps mistake introduced in 1534ef87
Clément Bœsch
git at videolan.org
Sun Jun 12 20:57:16 CEST 2016
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Jun 12 20:45:43 2016 +0200| [aafdad1b454c1656e6ba08822de49fb7caf924f3] | committer: Clément Bœsch
lavc/videotoolbox: fix sps/pps mistake introduced in 1534ef87
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aafdad1b454c1656e6ba08822de49fb7caf924f3
---
libavcodec/videotoolbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index 4d86251..6bd850a 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;
More information about the ffmpeg-cvslog
mailing list