Revision 3eb9e571 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
2246 2246
 * @param h is the normal height, this will be reduced automatically if needed for the last row
2247 2247
 */
2248 2248
void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
2249
	const int field_pic= s->picture_structure != PICT_FRAME;
2249
    const int field_pic= s->picture_structure != PICT_FRAME;
2250 2250
    if(field_pic){
2251 2251
        h <<= 1;
2252 2252
        y <<= 1;

Also available in: Unified diff