On Tue, Nov 27, 2012 at 04:45:21PM -0500, Justin Ruggles wrote:
> --- a/libavformat/nuv.c
> +++ b/libavformat/nuv.c
> @@ -65,82 +66,87 @@ static int nuv_probe(AVProbeData *p) {
> frametype = avio_r8(pb);
> switch (frametype) {
> - if (vst) {
> - vst->codec->codec_tag = avio_rl32(pb);
> - vst->codec->codec_id =
> - ff_codec_get_id(ff_codec_bmp_tags,
> vst->codec->codec_tag);
> + if (vst) {
> + vst->codec->codec_tag = avio_rl32(pb);
> + vst->codec->codec_id =
> + ff_codec_get_id(ff_codec_bmp_tags,
> vst->codec->codec_tag);
While you're at it:
vst->codec->codec_tag = avio_rl32(pb);
vst->codec->codec_id = ff_codec_get_id(ff_codec_bmp_tags,
vst->codec->codec_tag);
LGTM otherwise, push anytime.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel