On Tue, May 15, 2012 at 12:01:08PM +0100, Mans Rullgard wrote:
> Signed-off-by: Mans Rullgard <[email protected]>
> ---
> Note, I find the very existance of this function a disgusting insult
> to all sense of style, but until we figure out a better way, this at
> least makes it less wrong.  There are still dozens of codecs missing
> from the list.

Yes, the list is not long enough, it should learn from libswscale.
> ---
>  libavformat/utils.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/utils.c b/libavformat/utils.c
> index 658da8f..e518847 100644
> --- a/libavformat/utils.c
> +++ b/libavformat/utils.c
> @@ -791,6 +791,7 @@ static int is_intra_only(AVCodecContext *enc){
>          case CODEC_ID_VCR1:
>          case CODEC_ID_DNXHD:
>          case CODEC_ID_JPEG2000:
> +        case CODEC_ID_MDEC:
>              return 1;
>          default: break;
>          }
> -- 

LGTM
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to