Stefano Sabatini
bd01c39330
Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
...
AVERROR(-1) = 1.
Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-25 00:41:54 +00:00
Martin Storsjö
b1cc5540e7
Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content
...
Originally committed as revision 22663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 23:06:58 +00:00
Vitor Sessak
3bfb30b9e3
Fix warnings in NUT demuxer:
...
libavformat/nutdec.c: In function ‘read_seek’:
libavformat/nutdec.c:862: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’
libavformat/nutdec.c:871: warning: passing argument 4 of ‘av_tree_find’ from incompatible pointer type
./libavutil/tree.h:44: note: expected ‘void **’ but argument is of type ‘struct Syncpoint **’
Originally committed as revision 22662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 22:44:06 +00:00
Luca Barbato
7ed8211b3e
Issue a warning if the received CSeq isn't the expected one
...
Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 22:38:48 +00:00
Martin Storsjö
9405f733d9
Split out http authentication handling into a separate file
...
This prepares for adding support for more authentication methods
Originally committed as revision 22660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 22:32:05 +00:00
Vitor Sessak
59856b9891
Fix warning:
...
libavformat/nut.c: In function ‘ff_nut_free_sp’:
libavformat/nut.c:80: warning: passing argument 4 of ‘av_tree_enumerate’ from incompatible pointer type
./libavutil/tree.h:92: note: expected ‘int (*)(void *, void *)’ but argument is of type ‘void (*)(void *, void *)’
Originally committed as revision 22659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 19:58:12 +00:00
Martin Storsjö
3032276b18
Handle errors returned from ff_rtsp_read_reply in udp_read_packet properly
...
Originally committed as revision 22657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 18:52:27 +00:00
Zhentan Feng
852e0ca555
Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier
...
to share it with e.g. MMS.
Patch by Zhentan Feng <spyfeng gmail com>.
Originally committed as revision 22656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 18:40:43 +00:00
Alex Converse
508f092a78
aacenc: Merge quantize_band_cost() with quantize_and_encode_band().
...
If these two functions aren't matched results may be unexpected.
Originally committed as revision 22655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 17:09:21 +00:00
Carl Eugen Hoyos
d692850bbb
Silence ridiculous gcc warning.
...
Originally committed as revision 22654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 11:11:25 +00:00
Tomas Härdin
c6a5e087cf
Mask away AVSEEK_FORCE properly in some checks in url_fseek()
...
Patch by Tomas Härdin $(name).$(s/ä/a/ $(surname)) AT codemill DOT se
Originally committed as revision 22653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-24 10:41:58 +00:00
Justin Ruggles
06ebe9161e
Put ff_flac_write_header() in a separate C file to allow it to be shared without
...
duplicating code or adding a dependency on vorbiscomment.o.
Originally committed as revision 22652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 23:58:45 +00:00
Ramiro Polla
85f273c7ca
x11grab: AVFormatParameters are always passed from av_open_input_stream(),
...
there is no need to check for it.
Originally committed as revision 22651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 23:35:36 +00:00
Diego Biurrun
f684f3c58a
AltiVec implies a PPC CPU, so there is no need to check for both.
...
Originally committed as revision 30954 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-03-23 22:59:14 +00:00
Diego Biurrun
13bc1ac31a
Do not compile AltiVec code when AltiVec is not available; not even in
...
runtime cpudetection mode.
Fixes compilation with '--enable-runtime-cpudetect --disable-altivec'.
Originally committed as revision 30952 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-03-23 20:12:52 +00:00
Vitor Sessak
690877426b
Bump minor version, I forgot in the last commit
...
Originally committed as revision 22650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 20:03:20 +00:00
Vitor Sessak
e1484ebed6
Implement the discrete sine/cosine transforms DCT-I and DST-I
...
Originally committed as revision 22649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 19:48:16 +00:00
Pavel Pavlov
be548816dc
Always check if ff_alloc_picture() succeeds.
...
Patch by Pavel Pavlov, pavel summit-tech ca
Originally committed as revision 22648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 17:58:39 +00:00
Diego Biurrun
6f2c72c126
Remove unused variable, fixes the warning:
...
libavcodec/h264.c:1562: warning: unused variable `s'
Originally committed as revision 22647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 17:55:08 +00:00
Robert Krüger
1922c0a773
Add a loop option to ffplay.
...
Patch by Robert Krüger, krueger signal7 de
Originally committed as revision 22646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 17:39:51 +00:00
Tomas Härdin
d40a999a1c
Fix seeking in DV when filesize is unknown.
...
Patch by Tomas Härdin, tomas D hardin A codemill D se
Originally committed as revision 22645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 17:22:25 +00:00
Martin Storsjö
7a033e08ea
Handle multiple RTSP transport options properly by adding all of them into the mask
...
Originally committed as revision 22644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 08:00:37 +00:00
Martin Storsjö
602eb77975
Parse options in the RTSP URL only from the last question mark onwards
...
This helps if the URL (erroneously?) contains question marks within the path.
Originally committed as revision 22643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 07:59:23 +00:00
Martin Storsjö
2a21adf924
Reconstruct the RTSP URL, in order to remove the auth part from the URL sent to the server
...
Don't modify the user-specified s->filename at all, keep all modifications
locally and in rt->control_uri.
Originally committed as revision 22642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 07:55:15 +00:00
Måns Rullgård
a8bb9ea532
ARM: NEON optimised RDFT
...
Originally committed as revision 22641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 03:35:02 +00:00
Michael Niedermayer
fc4a2d1e8c
Change ref_index structure so it matches how its organized in h264.
...
Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-23 02:17:04 +00:00
Justin Ruggles
19de452a63
Move ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's
...
dependency on flacenc.o and fixes the unnecessary dependency on vorbiscomment.o.
Originally committed as revision 22639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 21:58:38 +00:00
Michael Niedermayer
ef768b0c32
Disallow VLC coding with more than 8 bits as there are several bugs
...
in that code that could lead to broken files.
AC coding is unaffected.
Originally committed as revision 22638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 21:12:31 +00:00
Michael Niedermayer
c51131290c
Dont senselessly fail on rawvideo that isnt 3 files per frame.
...
Originally committed as revision 22637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 20:18:42 +00:00
Josh Allmann
887af2aa12
RTP depacketization of Theora
...
Patch by Josh Allmann (joshua allmann gmail com)
Originally committed as revision 22636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 16:26:29 +00:00
Martin Storsjö
685e76b554
Reindent
...
Originally committed as revision 22635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 15:07:36 +00:00
Martin Storsjö
b7dc88fc68
Add support for TCP as lower transport in the RTSP muxer
...
Originally committed as revision 22634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 15:07:05 +00:00
Michael Niedermayer
5d7bc46c2d
Throw out last experimental warning that was printed for colorspaces with more than
...
8 bits per component. This does no good except scaring users away.
Originally committed as revision 22633 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 15:04:11 +00:00
Josh Allmann
d6461900c9
Add doxygen docs for av_xiphlacing
...
Patch by Josh Allmann (joshua allmann gmail com)
Originally committed as revision 22632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 14:57:50 +00:00
Martin Storsjö
9dff2308ba
Interpret valueless attributes in AMR ftmp lines as being 1
...
Originally committed as revision 22631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 14:44:28 +00:00
Martin Storsjö
6e69f6c47f
Use the caller's RTSPMessageHeader in rtsp_setup_input_streams
...
Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.
Originally committed as revision 22630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 14:42:52 +00:00
Michael Niedermayer
0e22d68834
Remove the word "experimental"
...
Originally committed as revision 22629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-22 14:26:17 +00:00
Michael Niedermayer
e1c9d266a2
Ignore x264 build=0 as there is no such version, this restores previous
...
behavior approximately.
Originally committed as revision 22628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 22:23:37 +00:00
James Darnley
bb45237e11
Fix FLAC demuxer dependencies.
...
Patch by James Darnley <james darnley at gmail>
Originally committed as revision 22627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 18:06:56 +00:00
Stefano Sabatini
68006ed062
Drop AVERROR_NOFMT at the next libavutil major bump.
...
Originally committed as revision 22626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:34:06 +00:00
Stefano Sabatini
2928b83c75
Make av_open_input_file() return AVERROR_INVALIDDATA rather than
...
AVERROR_NOFMT if the format is unknown / cannot be recognized.
It is returned AVERROR_INVALIDDATA, in the sense that the data is
invalid within what the specific libav* binary supports.
That was the last remaining use of AVERROR_NOFMT, which is going to be
dropped at the next libavutil major bump.
Originally committed as revision 22625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:34:04 +00:00
Stefano Sabatini
e4445e9c78
Make g729dec.c:decode_frame() return AVERROR_INVALIDDATA rather than
...
AVERROR_NOFMT in case of invalid / unknown packet size.
Originally committed as revision 22624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:34:01 +00:00
Reimar Döffinger
e99f8d32e2
Do not use puts, it adds additional newlines making the generated files
...
needlessly ugly.
Originally committed as revision 22623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:29:08 +00:00
Reimar Döffinger
c787cb339e
Add support for hard-coding the 256kB large dv_vlc_map table.
...
Originally committed as revision 22622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 16:03:45 +00:00
Reimar Döffinger
8de0859bcb
Extend and move macros to create table printing functions to header.
...
Simplifies creating custom functions for printing DV VLC-related tables.
Originally committed as revision 22621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 14:46:32 +00:00
Reimar Döffinger
10249a5f31
Split VLC-related tables out of dvdata.h to make it easier to add support
...
for hard-coding tables.
Originally committed as revision 22620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 14:43:50 +00:00
Vitor Sessak
b531e1ab59
Reindent after r22618.
...
Originally committed as revision 22619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:36:17 +00:00
Vitor Sessak
8305c76b53
Split DCT-II and DCT-III in different functions, they do not share any code.
...
Originally committed as revision 22618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:35:05 +00:00
Vitor Sessak
e30ab38e94
Call DCT by function pointer. Needed for any future ASM implementation and
...
allows further cleanup.
Originally committed as revision 22617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:31:11 +00:00
Vitor Sessak
89d7df7c74
Cosmetics: move ff_dct_init() to the bottom of the file
...
Originally committed as revision 22616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-21 11:28:38 +00:00