[Ffmpeg-devel] [PATCH] fix two warnings in libavformat/rm.c
Sat May 13 23:58:38 CEST 2006
Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> writes:
> This fixes:
> rm.c:561: warning: ?return? with a value, in function returning void
> rm.c:573: warning: ?return? with a value, in function returning void
> rm.c:586: warning: ?return? with a value, in function returning void
How is this function actually called? Returning a value certainly
makes sense, but is it being checked?
> rm.c: In function ?rm_read_packet?:
> rm.c:957: warning: enumeration value ?CODEC_ID_NONE? not handled in switch
These are silenced by -Wno-switch, which is default in ffmpeg. I'd
prefer using that to cluttering perfectly correct code.
mru at inprovide.com
More information about the ffmpeg-devel