summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-07-20 14:48:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-20 14:48:05 +0000
commit3bb07d616556f6489ce3aab1a5ec6b6dfbbd6217 (patch)
treeb487bd51f35a9339d12dac3d167f835c3538ee3a /libavcodec/mpeg12.c
parent42928ccbc24b2a9f4f6777d36e63fc1981783448 (diff)
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.c8
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++;