[FFmpeg-devel] fix for >2GB files in flvdec.c

Pascal Massimino pascal.massimino
Fri Oct 24 00:18:13 CEST 2008


On Mon, Oct 20, 2008 at 11:55 PM, Pascal Massimino
<pascal.massimino at gmail.com> wrote:
> On Mon, Oct 20, 2008 at 3:49 PM, Diego Biurrun <diego at biurrun.de> wrote:
>> On Mon, Oct 20, 2008 at 09:38:47AM -0700, Pascal Massimino wrote:
>>>
>>> patch against r15655 attached...
>>>

ping?

>>> --- libavformat/flvdec.c      2008-10-20 09:23:13.328892000 -0700
>>> +++ libavformat/flvdec.c      2008-10-20 09:23:13.330886000 -0700
>>> @@ -106,7 +106,7 @@
>>>
>>> -static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vstream, const char *key, unsigned int max_pos, int depth) {
>>> +static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vstream, const char *key, int64_t max_pos, int depth) {
>>> @@ -208,7 +208,7 @@
>>>
>>> -static int flv_read_metabody(AVFormatContext *s, unsigned int next_pos) {
>>> +static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) {
>>
>> Why int64_t and not uint64_t, it was unsigned before...
>>
>
> that was mainly because url_fseek() takes int64_t in its signature.
>
> skal
>
>
>
>> Diego
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>
>




More information about the ffmpeg-devel mailing list