diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-20 14:48:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-20 14:48:05 +0000 |
commit | 3bb07d616556f6489ce3aab1a5ec6b6dfbbd6217 (patch) | |
tree | b487bd51f35a9339d12dac3d167f835c3538ee3a /libavcodec/mpeg12.c | |
parent | 42928ccbc24b2a9f4f6777d36e63fc1981783448 (diff) | |
download | ffmpeg-3bb07d616556f6489ce3aab1a5ec6b6dfbbd6217.tar.gz |
default for slices is display order again
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)
Originally committed as revision 2066 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index e5491f3fa7..e84fa55133 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1943,13 +1943,7 @@ static int mpeg_decode_slice(AVCodecContext *avctx, MPV_decode_mb(s, s->block); if (++s->mb_x >= s->mb_width) { - if(s->picture_structure==PICT_FRAME){ - ff_draw_horiz_band(s, 16*s->mb_y, 16); - }else{ - if(!s->first_field){ - ff_draw_horiz_band(s, 32*s->mb_y, 32); - } - } + ff_draw_horiz_band(s, 16*s->mb_y, 16); s->mb_x = 0; s->mb_y++; |