Diego Biurrun
1aeb55a1de
Mark dvdaudio_substream_type variable as av_uninit to work around false
...
positive uninitialized variable warning.
Originally committed as revision 17825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 19:13:12 +00:00
Ivan Schreter
61c23c155c
Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.
...
Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:36:16 +00:00
Ivan Schreter
b283ba26ce
Add handling of frame position in the parser.
...
Originally committed as revision 17823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:35:06 +00:00
Justin Ruggles
8d1e885fc2
flacdec: cosmetics: Add a comment with the data of the smallest FLAC
...
frame for future reference.
Originally committed as revision 17822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 04:40:42 +00:00
Justin Ruggles
629fb5c46a
flacdec: There is an even smaller FLAC frame size possibility.
...
Originally committed as revision 17821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 02:36:17 +00:00
Justin Ruggles
5756bc7b02
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
...
bytes, not 24.
Originally committed as revision 17820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 02:21:35 +00:00
Justin Ruggles
bf1d7e285c
flacdec: cosmetics: move 2 statements to immediately after frame
...
decoding.
Originally committed as revision 17819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:23:53 +00:00
Justin Ruggles
fd6fd470ce
flacdec: Simplify frame sync by not using the bitstream reader.
...
Originally committed as revision 17818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 01:15:38 +00:00
Justin Ruggles
a8ec12bc2e
flacdec: Split the metadata_parse() function into 2 separate functions,
...
parse_streaminfo() and get_metadata_size().
Originally committed as revision 17817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 00:56:09 +00:00
Justin Ruggles
5ef4fa87b3
flacdec: Add a check for small buffer size. This ensures reading as
...
much of the frame header as possible without excluding the smallest
possible FLAC frame. It also fixes a false positive warning message
that was being emitted at the end of decoding.
Originally committed as revision 17816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:55:10 +00:00
Justin Ruggles
c51997297a
flacdec: cosmetics: Use a more descriptive variable name for the number
...
of bytes read, instead of reusing 'i'.
Originally committed as revision 17815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:24:44 +00:00
Justin Ruggles
549bccdbe4
flacdec: Handle 32 bps data when checking allocated size.
...
Originally committed as revision 17814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:16:30 +00:00
Justin Ruggles
a3d2379bdd
flacdec: Check curr_bps after wasted bits are subtracted.
...
Originally committed as revision 17813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 23:10:40 +00:00
Stefano Sabatini
d3f766124a
Fix typo: "i" -> "in".
...
Originally committed as revision 17812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 21:50:10 +00:00
Ivan Schreter
70e01da3bf
Add support for ct_type to correctly detect interlaced flag
...
Originally committed as revision 17811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 19:37:19 +00:00
Cédric Schieli
a284d03093
Rewrite of rgb15to32 and rgb16to32 using fewer asm instructions and setting alpha channel to 0xFF
...
Originally committed as revision 28808 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-04 19:12:49 +00:00
Michael Niedermayer
3444c91441
Add "deprecated old scaler removed"
...
Originally committed as revision 17810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:43:20 +00:00
Reimar Döffinger
15ef402663
Remove the swscale dummy option, most (all?) FATE configs should be updated
...
to work without it.
Originally committed as revision 17809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:41:47 +00:00
Reimar Döffinger
6d08f6c911
100l, interplayvideo uses 8x8 blocks, so call the 8x8 put_pixels_tab function
...
instead of the 16x16 one. Seems to fix decoding on PPC.
Originally committed as revision 17808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 18:18:49 +00:00
Reimar Döffinger
5133816627
Set AVFrame.reference correctly for nuv decoder.
...
Originally committed as revision 17807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 17:12:58 +00:00
Vitor Sessak
a66430c0d0
Add more correct bound checking in filter_mb().
...
Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW
Originally committed as revision 17806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 16:56:55 +00:00
Gwenole Beauchesne
34e46c44da
Add frame buffer allocators. aka simplify calls to
...
AVCodecContext.{get,release}_buffer().
Originally committed as revision 17804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 08:47:29 +00:00
Alex Converse
63581eb183
MOV: fix demuxing fragmented files
...
Originally committed as revision 17803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 07:57:09 +00:00
Mike Melanson
e584914acd
Fix a condition that causes an infinite loop, but only when compiled with
...
gcc 4.2.4 on x86_32. Thanks to Vitor for hunting this down.
Originally committed as revision 17802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 05:40:53 +00:00
Mike Melanson
45e5f85777
excellent first pass at a description; now it's time for the Ministry of
...
English Composition to tear it apart and rebuild it, stronger than before
Originally committed as revision 17801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 05:24:59 +00:00
Reynaldo H. Verdejo Pinochet
87574416f7
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
...
more general' changeset. This one relocates the QCELP
especific code to the qcelpdec.* files.
Originally committed as revision 17800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:33:56 +00:00
Reynaldo H. Verdejo Pinochet
77bd18e117
Part 1 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
...
more general' changeset. This one splits ff_qcelp_lspf2lpc
into the QCELP-especific ff_qcelp_lspf2lpc + the more general
ff_qcelp_lspf2lpc.
Originally committed as revision 17799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:28:07 +00:00
Justin Ruggles
e1374c06d6
flacdec: When there is not enough data to read the next header block,
...
reset the bitstream reader instead of skipping backwards.
Originally committed as revision 17798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 01:08:26 +00:00
Ronald S. Bultje
29b9f58b37
Split rtsp_send_cmd() into two functions, one for the actual sending of the
...
command and a second, new function to read the reply to this command. This
will make it possible to read server notices that are not in response to a
command in future versions, such as EOS or interrupt notices. See "[PATCH]
rtsp.c: split rtsp_send_cmd() in a send- and a receive-function" thread.
Originally committed as revision 17797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:57:37 +00:00
Justin Ruggles
6a85fb34c9
cosmetics: indentation after last commit
...
Originally committed as revision 17796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:53:04 +00:00
Justin Ruggles
55a727383b
flacdec: Check for an inline header before calling metadata_parse().
...
Originally committed as revision 17795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:52:18 +00:00
Justin Ruggles
239b961fbf
flacdec: Allocate buffers right after STREAMINFO is parsed.
...
Originally committed as revision 17794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-04 00:21:46 +00:00
Måns Rullgård
03754fcd6f
Alpha: use -g3 with ccc to allow optimisation with debugging symbols
...
Originally committed as revision 17793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:53:29 +00:00
Stefano Sabatini
9d9de444e3
Fix syntax for the libfaad_decoder definition.
...
Fix compilation (when libfaad is enabled).
Originally committed as revision 17792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:52:31 +00:00
Justin Ruggles
184bc53db4
cosmetics: indentation after last commit
...
Originally committed as revision 17791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:50:21 +00:00
Justin Ruggles
7d0303587d
flacdec: Avoid parsing the STREAMINFO multiple times.
...
Originally committed as revision 17790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:49:36 +00:00
Stefano Sabatini
636f1c4cd0
Rename avctx_opts to avcodec_opts.
...
The new name is more meaningful and consistent with avformat_opts
and sws_opts.
Originally committed as revision 17789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:32:10 +00:00
Måns Rullgård
511b3667d6
Allow --enable-swscale until FATE is updated
...
Originally committed as revision 17788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 23:07:12 +00:00
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Michael Niedermayer
1ad1eaadd6
Enable AVFMT_FLAG_NONBLOCK.
...
Originally committed as revision 17785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 20:25:21 +00:00
Michael Niedermayer
d61f30a7a0
Do usleep(10000) when all demuxers returned EAGAIN.
...
Originally committed as revision 17784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 20:24:58 +00:00
Michael Niedermayer
ded0149948
Replace two 'return AVERROR(EAGAIN);' by continue. The latter are nicer
...
and the EAGAIN were just added as example not because they made sense.
Originally committed as revision 17783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 20:24:17 +00:00
Michael Niedermayer
545465ecaa
If a demuxer returns EAGAIN, try another demuxer.
...
Originally committed as revision 17782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 19:50:04 +00:00
Jindřich Makovička
57f9a56051
remove the rest of x86 asm from LGPL build
...
Originally committed as revision 28804 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-03-03 19:47:23 +00:00
Alex Converse
fefe43ff2c
MOV: fix crash when 'meta' occurs before first 'trak'
...
Originally committed as revision 17781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 18:19:44 +00:00
Ronald S. Bultje
bc8763cda9
Rename "fd1" variable ro "fd". There were previously two variables (fd1 and
...
fd2) and one was just removed, so naming the other "fd1" is counter-intuitive.
See "[RFC] rtsp.c EOF support" thread.
Originally committed as revision 17780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 17:06:18 +00:00
Ronald S. Bultje
f0a8039464
Add url_get_file_handle(), which is used to get the file descriptor
...
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.
There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.
Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 17:04:51 +00:00
Ronald S. Bultje
2fea965070
Reindent after r17777.
...
Originally committed as revision 17778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:53:04 +00:00
Ronald S. Bultje
f830c9a487
Make RTSP-MS-over-UDP negotiation work. See "[PATCH] RTSP-MS 8/15: fix
...
RTSP-MS UDP" thread on mailinglist.
Basically, UDP setup needs to be done in a particular order (first rtx
on two UDP ports (one for RTP, one for RTCP), then the other streams over
one, single port for all of them together). Not doing this correctly results
in a "461" error (invalid transport) during setup.
Originally committed as revision 17777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:52:35 +00:00
Ronald S. Bultje
090438cc81
Recognize the "application" data type, which is required for WMS/UDP
...
sessions.
This type is used in RTP/ASF (served by WMS servers), and is required to
make UDP sessions work, but breaks TCP sessions. Therefore, we disable setup
for application streams in TCP/WMS streams.
See discussion in "[PATCH] RTSP-MS 8/15: fix RTSP-MS UDP" thread.
Originally committed as revision 17776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 16:48:56 +00:00