mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
dv: Drop a spurious check
The buffer is always valid. Bug-Id: CID 700682
This commit is contained in:
parent
8562c1483b
commit
74d7db586a
@ -383,8 +383,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, void *data,
|
||||
vsc_pack = buf + 80 * 5 + 48 + 5;
|
||||
if (*vsc_pack == dv_video_control) {
|
||||
apt = buf[4] & 0x07;
|
||||
is16_9 = (vsc_pack && ((vsc_pack[2] & 0x07) == 0x02 ||
|
||||
(!apt && (vsc_pack[2] & 0x07) == 0x07)));
|
||||
is16_9 = (vsc_pack[2] & 0x07) == 0x02 ||
|
||||
(!apt && (vsc_pack[2] & 0x07) == 0x07);
|
||||
ff_set_sar(avctx, s->sys->sar[is16_9]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user