[Ffmpeg-devel] [PATCH] reduce MAX_SCAN_PACKETS in mpegts.c
Nico Sabbi
nicola_sabbi
Sun Aug 27 10:02:47 CEST 2006
Michael Niedermayer wrote:
>
>>Index: libavformat/avformat.h
>>===================================================================
>>--- libavformat/avformat.h (revisione 6099)
>>+++ libavformat/avformat.h (copia locale)
>>@@ -106,6 +106,7 @@
>> int channel; /* used to select dv channel */
>> const char *device; /* video, audio or DV device */
>> const char *standard; /* tv standard, NTSC, PAL, SECAM */
>>+ int prealloced_context:1;
>> int mpeg2ts_raw:1; /* force raw MPEG2 transport stream output, if possible */
>>
>>
>
>i think that will break compatibility, putting the new field at the end of
>the bitfields seems safer
>
>[...]
>
>
>>+ for(i=0; i<opt_name_count; i++){
>>+ AVOption *opt;
>>+ double d= av_get_double(avformat_opts, opt_names[i], &opt);
>>+
>>+ if(d==d && (opt->flags&AV_OPT_FLAG_DECODING_PARAM))
>>+ av_set_double(ic, opt_names[i], d);
>>+ }
>>
>>
>
>indention looks wrong
>
>
>[...]
>
>
patch updated
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avformatparams2.diff
Type: text/x-patch
Size: 5596 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060827/05026cc8/attachment.bin>
More information about the ffmpeg-devel
mailing list