Michel Bardiaux
f0ee3ea619
Add some context to av_log calls.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 08:29:24 +00:00
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
2007-01-30 10:48:39 +00:00
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
2007-01-30 10:37:52 +00:00
Luca Barbato
a58b82f874
Missing prototype added
...
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 15:02:57 +00:00
Michael Niedermayer
f8f0a0bdfd
fix seeking in wma
...
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:54:55 +00:00
Kostya Shishkov
49561f992e
Seeking support in WavPack
...
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:23:28 +00:00
François Revol
66d49636c7
an alloc func failing should give ENOMEM anyway.
...
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
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
2007-01-28 02:38:02 +00:00
Michael Niedermayer
de3ae9596b
stealing a few field names from mplayers asf demuxer
...
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:07:16 +00:00
Baptiste Coudurier
4abc097146
remove void * used in arithmetic warnings
...
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 12:32:23 +00:00
Baptiste Coudurier
72fd40bd3a
add waveformatextensible support
...
Originally committed as revision 7714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 21:56:06 +00:00
Guillaume Poirier
706c0d6509
use more portable PRIu64
...
Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 10:01:28 +00:00
Diego Biurrun
722dabcc94
Move conditional CFLAGS and OBJS setting to common place.
...
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun
bf50703313
cosmetics: sort
...
Originally committed as revision 7697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:10:10 +00:00
Baptiste Coudurier
e809d7e50a
remove some printf warnings
...
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:59:58 +00:00
Baptiste Coudurier
01aa1937cf
make vars unsigned
...
Originally committed as revision 7690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:57:41 +00:00
Baptiste Coudurier
649348777e
stop if current sample is higher than sample count
...
Originally committed as revision 7689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:46:59 +00:00
Baptiste Coudurier
560588b717
replace strcpy by memcpy
...
Originally committed as revision 7685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 12:49:24 +00:00
Baptiste Coudurier
a20a37e69a
remove useless field
...
Originally committed as revision 7682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:57:38 +00:00
Baptiste Coudurier
69e7070da6
remove obsolete comment
...
Originally committed as revision 7681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:56:45 +00:00
Baptiste Coudurier
44d3fea53b
make some fields unsigned
...
Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:55:07 +00:00
Baptiste Coudurier
dfcf8d57c5
add sanity checks
...
Originally committed as revision 7679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:44:24 +00:00
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
2007-01-23 21:47:32 +00:00
Måns Rullgård
bb2864fb21
remove unused files
...
Originally committed as revision 7675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:42:36 +00:00
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
2007-01-23 21:41:30 +00:00
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
2007-01-23 21:36:32 +00:00
Michael Niedermayer
0fd9e6f34a
make the asf demuxer resistant against insertion/deletion errors
...
Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:25:06 +00:00
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
2007-01-23 18:37:23 +00:00
Michael Niedermayer
a44b3c4da8
make av_find_stream_info() duration user selectable
...
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 17:34:26 +00:00
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
2007-01-23 15:38:07 +00:00
Michael Niedermayer
742482290f
improve probe and give it the max score
...
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:23:41 +00:00
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
2007-01-23 09:24:41 +00:00
Michael Niedermayer
f7835507cb
consistant error return for asf_get_packet()
...
Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:38:33 +00:00
Michael Niedermayer
92216453db
better padsize check
...
Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:33:26 +00:00
Michael Niedermayer
0b93103a31
more correct error message
...
Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:31:40 +00:00
Michael Niedermayer
ceba96cb26
replace wrong return 0 by -1
...
Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:28:56 +00:00
Michael Niedermayer
13f7e4b966
check to detect nonsense fragment size
...
Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:17:54 +00:00
Michael Niedermayer
1ae7518dda
inden(ta)tion
...
Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:06:46 +00:00
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
2007-01-22 17:01:01 +00:00
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
2007-01-22 16:37:45 +00:00
Michael Niedermayer
ae60a85780
move frame header reading into its own function
...
Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:55:23 +00:00
Michael Niedermayer
b04d5d3116
more correct packet alignment check and correction
...
Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:52:49 +00:00
Michael Niedermayer
5e2a485507
10l
...
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:33:10 +00:00
Michael Niedermayer
4c6f7440af
doxygenize comments
...
Originally committed as revision 7646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:15:30 +00:00
Michael Niedermayer
4e15cc8ba3
cosmetics (aligne stuff nicely)
...
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:04:55 +00:00
Michael Niedermayer
d045b8c14b
get rid of some sensless malloc/free
...
Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:03:47 +00:00
Michael Niedermayer
916bb12c90
simplify
...
Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:01:27 +00:00
Michael Niedermayer
6bb2a2dfb9
remove a few unused and duplicated variables
...
Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 10:53:57 +00:00
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
2007-01-22 03:19:00 +00:00
Michael Niedermayer
b83e83b915
cosmetic
...
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:21:16 +00:00