[FFmpeg-devel] [PATCH 3/3] id3v2: use a named constant instead of 0x02
Michael Niedermayer
michaelni
Mon Dec 6 21:48:51 CET 2010
On Mon, Dec 06, 2010 at 09:33:09AM +0100, Anton Khirnov wrote:
> ---
> libavformat/id3v2.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
> index 2af1b03..b32ca7d 100644
> --- a/libavformat/id3v2.c
> +++ b/libavformat/id3v2.c
> @@ -211,7 +211,7 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags)
> }else
> tlen = get_size(s->pb, 4);
> tflags = get_be16(s->pb);
> - tunsync = tflags & 0x02;
> + tunsync = tflags & ID3v2_FLAG_UNSYNCH;
> } else {
lgtm
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101206/5f64ff07/attachment.pgp>
More information about the ffmpeg-devel
mailing list