[FFmpeg-devel] [PATCH] apetag: return value when required.
Michael Niedermayer
michaelni at gmx.at
Wed Aug 1 13:22:38 CEST 2012
On Wed, Aug 01, 2012 at 10:28:40AM +0200, Nicolas George wrote:
> Should fix compilation on clang.
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> libavformat/apetag.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/apetag.c b/libavformat/apetag.c
> index 1818892..7c87086 100644
> --- a/libavformat/apetag.c
> +++ b/libavformat/apetag.c
> @@ -157,7 +157,7 @@ int64_t ff_ape_parse_tag(AVFormatContext *s)
> val = avio_rl32(pb); /* flags */
> if (val & APE_TAG_FLAG_IS_HEADER) {
> av_log(s, AV_LOG_ERROR, "APE Tag is a header\n");
> - return;
> + return 0;
> }
LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120801/706b08dc/attachment.asc>
More information about the ffmpeg-devel
mailing list