1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

lavc/h264_sei: fix green metadata typo

This commit is contained in:
Clément Bœsch 2016-06-13 17:41:07 +02:00 committed by Clément Bœsch
parent 878c3a3645
commit 7a2a8b541a

View File

@ -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",