[Ffmpeg-devel] [patch] constify read-only datastructures
Loïc Le Loarer
lll+ffmpeg
Tue Jun 20 23:43:54 CEST 2006
Le Tuesday 20 June 2006 ? 23:04:00 +0200, Stefan Huehner a ?crit:
> Hi,
>
> Additionally two unused variables in nut.c and avidec.c were removed.
>
> Index: libavformat/avidec.c
> ===================================================================
> --- libavformat/avidec.c (revision 5504)
> +++ libavformat/avidec.c (working copy)
> @@ -138,7 +138,6 @@
> last_pos= pos;
> }else{
> int64_t offset= get_le64(pb);
> - int size = get_le32(pb);
> int duration = get_le32(pb);
> int64_t pos= url_ftell(pb);
This also remove the get_le32(pb) call, which will probably break
something...
--
Lo?c
"heaven is not a place, it's a feeling"
-------------- 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/20060620/ac608990/attachment.pgp>
More information about the ffmpeg-devel
mailing list