[FFmpeg-cvslog] lavc/h264_sei: fix green metadata typo

Clément Bœsch git at videolan.org
Mon Jun 13 22:41:40 CEST 2016


ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Mon Jun 13 17:41:07 2016 +0200| [7a2a8b541afa88344a4c9ba6cc62fc63bd4b0658] | committer: Clément Bœsch

lavc/h264_sei: fix green metadata typo

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a2a8b541afa88344a4c9ba6cc62fc63bd4b0658
---

 libavcodec/h264_sei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index bdc5c9f..3c6d988 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -381,7 +381,7 @@ static int decode_GreenMetadata(H264Context *h)
             av_log(h->avctx, AV_LOG_DEBUG,      "green_metadata_period_type                     = %d\n",
                    h->sei_green_metadata.period_type);
 
-        if (h->sei_green_metadata.green_metadata_type==2){
+        if (h->sei_green_metadata.period_type==2){
             h->sei_green_metadata.num_seconds = get_bits(&h->gb, 16);
             if (h->avctx->debug & FF_DEBUG_GREEN_MD)
                 av_log(h->avctx, AV_LOG_DEBUG,  "green_metadata_num_seconds                     = %d\n",



More information about the ffmpeg-cvslog mailing list