[FFmpeg-devel] [PATCH] RTP/QDM2 parser
Alex Converse
alex.converse
Fri Aug 7 16:39:36 CEST 2009
On Tue, Aug 4, 2009 at 5:15 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>
> Hi,
>
> attached is another day or two of ida-fun. Works well with several of
> the samples that I've tried it on.
>
->-- ffmpeg-svn.orig/libavcodec/qdm2.c 2009-08-03 18:36:40.000000000 -0400
>+++ ffmpeg-svn/libavcodec/qdm2.c 2009-08-03 18:47:49.000000000 -0400
>@@ -1277,13 +1277,13 @@
> init_get_bits(&gb, header.data, header.size*8);
>
> if (header.type == 2 || header.type == 4 || header.type == 5) {
>- int csum = 257 * get_bits(&gb, 8) + 2 * get_bits(&gb, 8);
>+ int csum = 257 * get_bits(&gb, 8) + 2 * get_bits(&gb, 8), cs2;
I hate to be all nitpicky, but that is a really awkward declaration
and touches code that is otherwise unmodified.
>
>- csum = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum);
>+ cs2 = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum);
More information about the ffmpeg-devel
mailing list