diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-03-06 18:19:52 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-11 14:59:07 +0200 |
commit | a871ef0cc936612bdb0e643196be72efcf0c8986 (patch) | |
tree | 6120d3b308ed2f7f660c45ee32aa57afa4f2a0d5 /libavcodec/h264_slice.c | |
parent | 08bb2567586599d62a282c4cd31567a0807f3d92 (diff) | |
download | ffmpeg-a871ef0cc936612bdb0e643196be72efcf0c8986.tar.gz |
hwaccel: Rename priv_data_size to frame_priv_data_size
This describes more accurately what this field is for.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 133b588085..e727233c58 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -258,8 +258,8 @@ static int alloc_picture(H264Context *h, H264Picture *pic) if (h->avctx->hwaccel) { const AVHWAccel *hwaccel = h->avctx->hwaccel; av_assert0(!pic->hwaccel_picture_private); - if (hwaccel->priv_data_size) { - pic->hwaccel_priv_buf = av_buffer_allocz(hwaccel->priv_data_size); + if (hwaccel->frame_priv_data_size) { + pic->hwaccel_priv_buf = av_buffer_allocz(hwaccel->frame_priv_data_size); if (!pic->hwaccel_priv_buf) return AVERROR(ENOMEM); pic->hwaccel_picture_private = pic->hwaccel_priv_buf->data; |