[FFmpeg-devel] [PATCH 7/8] Split away the "found" case in ff_h264_find_frame_end().

Michael Niedermayer michaelni
Thu Oct 2 19:59:10 CEST 2008

On Thu, Oct 02, 2008 at 04:39:57PM +0200, Diego 'Flameeyes' Petten? wrote:
> With the original code, ICC issued this warning:
> libavcodec/h264_parser.c(77): warning #589: transfer of control
> bypasses initialization of:
>             variable "v" (declared at line 58)
>                   goto found;
> since the found branch was part of another branch where a variable v
> was declared; since the branch is a returning branch, independent of
> all the remaining variables, split it at the end of the function.

ok, though thats more because its more readable IMHO than because
of the warning.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081002/5bfc52c2/attachment.pgp>

More information about the ffmpeg-devel mailing list