comparison mpegvideo.c @ 5005:3aba3479d806 libavcodec

remove some unused mjpeg encoding variables (they were always set to a constant value)
author aurel
date Mon, 14 May 2007 11:53:27 +0000
parents 8508554c4391
children 3d8a813666e4
comparison
equal deleted inserted replaced
5004:5c3c39298e91 5005:3aba3479d806
1195 break; 1195 break;
1196 case CODEC_ID_LJPEG: 1196 case CODEC_ID_LJPEG:
1197 case CODEC_ID_MJPEG: 1197 case CODEC_ID_MJPEG:
1198 s->out_format = FMT_MJPEG; 1198 s->out_format = FMT_MJPEG;
1199 s->intra_only = 1; /* force intra only for jpeg */ 1199 s->intra_only = 1; /* force intra only for jpeg */
1200 s->mjpeg_write_tables = 1;
1201 s->mjpeg_data_only_frames = 0; /* write all the needed headers */
1202 s->mjpeg_vsample[0] = 2; 1200 s->mjpeg_vsample[0] = 2;
1203 s->mjpeg_vsample[1] = 2>>chroma_v_shift; 1201 s->mjpeg_vsample[1] = 2>>chroma_v_shift;
1204 s->mjpeg_vsample[2] = 2>>chroma_v_shift; 1202 s->mjpeg_vsample[2] = 2>>chroma_v_shift;
1205 s->mjpeg_hsample[0] = 2; 1203 s->mjpeg_hsample[0] = 2;
1206 s->mjpeg_hsample[1] = 2>>chroma_h_shift; 1204 s->mjpeg_hsample[1] = 2>>chroma_h_shift;