mpeg1enc: dont use size extension.
the spec doesnt mention this extension for mpeg1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
038eb59b3a
commit
1337c6cf15
@ -331,7 +331,7 @@ static av_always_inline void put_qscale(MpegEncContext *s)
|
||||
}
|
||||
|
||||
void ff_mpeg1_encode_slice_header(MpegEncContext *s){
|
||||
if (s->height > 2800) {
|
||||
if (s->codec_id == CODEC_ID_MPEG2VIDEO && s->height > 2800) {
|
||||
put_header(s, SLICE_MIN_START_CODE + (s->mb_y & 127));
|
||||
put_bits(&s->pb, 3, s->mb_y >> 7); /* slice_vertical_position_extension */
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user