Commit f6290ea1 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

media decoder: missing a break

A break missing into a switch in MediaDecoder::correctPixFmt
causing invalid handling of AV_PIX_FMT_YUVJ440P input value.

Change-Id: I216797df58938212e83195dfc9dbfe4d0aba5a8f
Tuleap: #909
parent d9c847c0
...@@ -483,6 +483,7 @@ MediaDecoder::correctPixFmt(int input_pix_fmt) { ...@@ -483,6 +483,7 @@ MediaDecoder::correctPixFmt(int input_pix_fmt) {
break; break;
case AV_PIX_FMT_YUVJ440P : case AV_PIX_FMT_YUVJ440P :
pix_fmt = AV_PIX_FMT_YUV440P; pix_fmt = AV_PIX_FMT_YUV440P;
default: default:
pix_fmt = input_pix_fmt; pix_fmt = input_pix_fmt;
break; break;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment