Fixes compilation in case where the FLV encoder is disabled with any other H.263 based encoder enabled.
Unified · Split
| @@ -855,6 +855,7 @@ av_cold void ff_h263_encode_init(MPVMainEncContext *const m) · 854 unmodified lines | ||
| 855 | 855 | } |
| 856 | 856 | break; |
| 857 | 857 | // Note for MPEG-4 & H.263 the dc-scale table will be set per frame as needed later |
| 858 | +#if CONFIG_FLV_ENCODER | |
| 858 | 859 | case AV_CODEC_ID_FLV1: |
| 859 | 860 | m->encode_picture_header = ff_flv_encode_picture_header; |
| 860 | 861 | if (s->c.h263_flv > 1) { |
| @@ -865,6 +866,7 @@ av_cold void ff_h263_encode_init(MPVMainEncContext *const m) · 4 unmodified lines | ||
| 865 | 866 | s->max_qcoeff= 127; |
| 866 | 867 | } |
| 867 | 868 | break; |
| 869 | +#endif | |
| 868 | 870 | default: //nothing needed - default table already set in mpegvideo.c |
| 869 | 871 | s->min_qcoeff= -127; |
| 870 | 872 | s->max_qcoeff= 127; |