]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libopusenc.c
omx: Use the EOS flag to handle flushing at the end
[ffmpeg] / libavcodec / libopusenc.c
index 1fb597bd3385f8cda79e7f59a1467053a45bce8f..500e58c85e3de55bf1454ac214d803396aaa58d8 100644 (file)
@@ -164,8 +164,9 @@ static int av_cold libopus_encode_init(AVCodecContext *avctx)
     /* FIXME: Opus can handle up to 255 channels. However, the mapping for
      * anything greater than 8 is undefined. */
     if (avctx->channels > 8) {
-        av_log(avctx, AV_LOG_ERROR,
-               "Channel layout undefined for %d channels.\n", avctx->channels);
+        avpriv_report_missing_feature(avctx,
+                                      "Undefined channel layout for %d channels",
+                                      avctx->channels);
         return AVERROR_PATCHWELCOME;
     }
     if (!avctx->bit_rate) {