mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Speedhq: Decode field 2 correctly
This is similar to field 1 (effd2e72
)
This commit is contained in:
parent
73757577cb
commit
fc3f5cd149
@ -447,7 +447,7 @@ static int speedhq_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
frame->key_frame = 1;
|
||||
|
||||
if (second_field_offset == 4) {
|
||||
if (second_field_offset == 4 || second_field_offset == (buf_size-4)) {
|
||||
/*
|
||||
* Overlapping first and second fields is used to signal
|
||||
* encoding only a single field. In this case, "height"
|
||||
|
Loading…
Reference in New Issue
Block a user