Hi,

On Sat, Jan 7, 2012 at 1:56 PM, Justin Ruggles <[email protected]> wrote:
> @@ -687,7 +698,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext 
> *avctx, AVCodec *codec, AVD
>
>     /* if the decoder init function was already called previously,
>        free the already allocated subtitle_header before overwriting it */
> -    if (codec->decode)
> +    if (codec_is_decoder(codec))

(Borderline "this should be in its own commit".) But I think you've
spent too much time on this so let's not.

Rest OK.

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

Reply via email to