Revision 9f83e142

View differences:

libavcodec/mpegvideo.c
1207 1207
        avctx->delay=0;
1208 1208
        s->low_delay=1;
1209 1209
        break;
1210
#ifdef CONFIG_H261_ENCODER
1210 1211
    case CODEC_ID_H261:
1211 1212
        if (ff_h261_get_picture_format(s->width, s->height) < 0) {
1212 1213
            av_log(avctx, AV_LOG_ERROR, "The specified picture size of %dx%d is not valid for the H.261 codec.\nValid sizes are 176x144, 352x288\n", s->width, s->height);
......
1216 1217
        avctx->delay=0;
1217 1218
        s->low_delay=1;
1218 1219
        break;
1220
#endif
1219 1221
    case CODEC_ID_H263:
1220 1222
        if (h263_get_picture_format(s->width, s->height) == 7) {
1221 1223
            av_log(avctx, AV_LOG_INFO, "The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n", s->width, s->height);

Also available in: Unified diff