mirror of https://git.ffmpeg.org/ffmpeg.git
avdevice/decklink_dec: Fix ;;
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
173939259a
commit
75027066d8
|
@ -1070,7 +1070,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
|
||||||
break;
|
break;
|
||||||
case bmdFormat8BitARGB:
|
case bmdFormat8BitARGB:
|
||||||
st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO;
|
st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO;
|
||||||
st->codecpar->codec_tag = avcodec_pix_fmt_to_codec_tag((enum AVPixelFormat)st->codecpar->format);;
|
st->codecpar->codec_tag = avcodec_pix_fmt_to_codec_tag((enum AVPixelFormat)st->codecpar->format);
|
||||||
st->codecpar->format = AV_PIX_FMT_0RGB;
|
st->codecpar->format = AV_PIX_FMT_0RGB;
|
||||||
st->codecpar->bit_rate = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num);
|
st->codecpar->bit_rate = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue