Skip to content

Commit

Permalink
lavc/h264_sei: fix green metadata typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ubitux committed Jun 13, 2016
1 parent 878c3a3 commit 7a2a8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/h264_sei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7a2a8b5

Please sign in to comment.