Ronald S. Bultje
68fcdbf1e5
Fix misbehaviour in url_fseek() when seeking fails.
...
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
eabbae730c
protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
...
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
a58b82f874
Missing prototype added
...
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f8f0a0bdfd
fix seeking in wma
...
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
49561f992e
Seeking support in WavPack
...
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
66d49636c7
an alloc func failing should give ENOMEM anyway.
...
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
8f42f5238e
proper error handling in file size retrieval, patch by Ronald S. Bultje rbultje at ronald bitfreak net
...
Originally committed as revision 7736 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
de3ae9596b
stealing a few field names from mplayers asf demuxer
...
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
4abc097146
remove void * used in arithmetic warnings
...
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
72fd40bd3a
add waveformatextensible support
...
Originally committed as revision 7714 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Guillaume Poirier
706c0d6509
use more portable PRIu64
...
Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
722dabcc94
Move conditional CFLAGS and OBJS setting to common place.
...
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
bf50703313
cosmetics: sort
...
Originally committed as revision 7697 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
e809d7e50a
remove some printf warnings
...
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
01aa1937cf
make vars unsigned
...
Originally committed as revision 7690 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
649348777e
stop if current sample is higher than sample count
...
Originally committed as revision 7689 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
560588b717
replace strcpy by memcpy
...
Originally committed as revision 7685 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
a20a37e69a
remove useless field
...
Originally committed as revision 7682 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
69e7070da6
remove obsolete comment
...
Originally committed as revision 7681 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
44d3fea53b
make some fields unsigned
...
Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
dfcf8d57c5
add sanity checks
...
Originally committed as revision 7679 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Daniel Kristjansson
e995cfca28
mpegts-documentation-only.patch -- adds documentation patch by Daniel Kristjansson / danielk mrl.nyu edu
...
yes another 1 year old patch, this one though has one failed hunk
Originally committed as revision 7676 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
bb2864fb21
remove unused files
...
Originally committed as revision 7675 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Daniel Kristjansson
2ddb79befd
"converts printf's to avlog's" patch by Daniel Kristjansson / danielk mrl.nyu edu
...
another 1 year old patch forgoten by mans
trailing whitespace removial by me
Originally committed as revision 7674 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Daniel Kristjansson
105e517df3
"removes definition for old crc func" patch by Daniel Kristjansson / danielk mrl.nyu edu
...
patch ~ 1year old, apparently forgotten by our mpeg-ts demuxer maintainer
Originally committed as revision 7673 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0fd9e6f34a
make the asf demuxer resistant against insertion/deletion errors
...
Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
79a5b35c05
remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from http://www.albx79.it/stuff/ playable other players arent that picky either ...
...
Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a44b3c4da8
make av_find_stream_info() duration user selectable
...
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
683ab79ca0
flv follows in movs footsteps and has random trash in the width/height fields
...
Originally committed as revision 7668 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
742482290f
improve probe and give it the max score
...
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
373c32c711
Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.
...
Originally committed as revision 7659 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f7835507cb
consistant error return for asf_get_packet()
...
Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
92216453db
better padsize check
...
Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0b93103a31
more correct error message
...
Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ceba96cb26
replace wrong return 0 by -1
...
Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
13f7e4b966
check to detect nonsense fragment size
...
Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1ae7518dda
inden(ta)tion
...
Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
200026aae4
replace nonsense code by something which makes at least some sense
...
Originally committed as revision 7651 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4c71d72701
check fragment offset and size
...
yes this too could have been exploitable ...
Originally committed as revision 7650 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ae60a85780
move frame header reading into its own function
...
Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b04d5d3116
more correct packet alignment check and correction
...
Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5e2a485507
10l
...
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4c6f7440af
doxygenize comments
...
Originally committed as revision 7646 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
4e15cc8ba3
cosmetics (aligne stuff nicely)
...
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d045b8c14b
get rid of some sensless malloc/free
...
Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
916bb12c90
simplify
...
Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6bb2a2dfb9
remove a few unused and duplicated variables
...
Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0521946359
adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
...
note, the original code might have been exploitable
Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b83e83b915
cosmetic
...
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
9688979c51
Fix some more license headers.
...
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago