[FFmpeg-devel] [PATCH] id3v2 unsynchronisation support
Reimar Döffinger
Reimar.Doeffinger
Sun Jul 25 08:50:46 CEST 2010
On Sun, Jul 25, 2010 at 11:14:03AM +1000, Alexander Kojevnikov wrote:
> On 24 July 2010 22:09, Reimar D?ffinger <Reimar.Doeffinger at gmx.de> wrote:
> > On Sat, Jul 24, 2010 at 09:58:10PM +1000, Alexander Kojevnikov wrote:
> >> On a side note, I'm seeing bogus "value computed is not used" warnings
> >> with this code (gcc 4.5.0), should something be done about them?
> >
> > They aren't bogus, it must be (*len)--, not *len--;
> > Or *len -= 1;
> > Or whatever other method.
>
> Fixed.
>
> >> + ? ?int byte;
> >
> > This can now be moved into the blocks where it is used.
>
> Done.
>
> >> - ? ? ? ?while (taglen-- && q - dst < dstlen - 7) {
> >> + ? ? ? ?byte = 0;
> >
> > Since there is no need to initialize it to 0.
>
> Fixed in both places.
Looks ok to me, though I do not maintain any of the affected code.
More information about the ffmpeg-devel
mailing list