diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-17 14:48:40 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-17 15:13:19 +0300 |
commit | 441d5a7084b56fd9874daede2ef90356b3bf9d16 (patch) | |
tree | 8bce92071141b185bcd67abbb0cc1cf9429340b5 /libavcodec/h264.c | |
parent | ec6bef68f14f08e1295ea9c65fcb8b3f2e53193e (diff) | |
parent | b0017579b6e8de3d0d13dcfe0a4dd848dc6baa37 (diff) |
Merge commit 'b0017579b6e8de3d0d13dcfe0a4dd848dc6baa37'
* commit 'b0017579b6e8de3d0d13dcfe0a4dd848dc6baa37':
h264: Add support for Closed Caption export
Conflicts:
libavcodec/h264.c
libavcodec/h264_sei.c
See: 8234f0e3b485811d60c228c40a94a141c46e61ca
Merged-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index eb834f13b4..bfad253ece 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -880,8 +880,9 @@ static void decode_postinit(H264Context *h, int setup_finished) } if (h->a53_caption) { - AVFrameSideData *sd = - av_frame_new_side_data(cur->f, AV_FRAME_DATA_A53_CC, h->a53_caption_size); + AVFrameSideData *sd = av_frame_new_side_data(cur->f, + AV_FRAME_DATA_A53_CC, + h->a53_caption_size); if (sd) memcpy(sd->data, h->a53_caption, h->a53_caption_size); av_freep(&h->a53_caption); |