# HG changeset patch # User benoit # Date 1178097521 0 # Node ID 3fb09f11d6db53770918f20ceeed6a73e6b1ee2b # Parent 64bd1b09cef2ab39ff595079f20d18b197ff5e52 return right format in set_codec_from_probe_data diff -r 64bd1b09cef2 -r 3fb09f11d6db utils.c --- a/utils.c Wed May 02 09:13:47 2007 +0000 +++ b/utils.c Wed May 02 09:18:41 2007 +0000 @@ -1684,7 +1684,7 @@ else if (strncmp(fmt->name, "ac3", 3) == 0) st->codec->codec_id = CODEC_ID_AC3; } - return fmt; + return !!fmt; } /* absolute maximum size we read until we abort */