]>
rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
michael [Fri, 17 Apr 2009 13:57:22 +0000 (13:57 +0000)]
Remove unused variable from decode_init() found by CSA.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18550
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
vitor [Fri, 17 Apr 2009 13:07:18 +0000 (13:07 +0000)]
Remove useless assignement in generate_codebook(). Found by Clang static
analyser.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18549
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 13:03:56 +0000 (13:03 +0000)]
Remove unused variables from ff_mjpeg_decode_sos() found by CSA.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18548
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 12:57:47 +0000 (12:57 +0000)]
Remove uselss assignment from h263_pred_dc() found by the clang static analyzer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18547
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 12:53:11 +0000 (12:53 +0000)]
Move declarations in mpeg1_encode_motion() closer to where they are needed.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18546
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 12:44:48 +0000 (12:44 +0000)]
Useless assignment found by the clang static analyzer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18545
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 12:41:37 +0000 (12:41 +0000)]
Get rid of an unused variable, found by the clang static analyzer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18544
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 17 Apr 2009 12:37:39 +0000 (12:37 +0000)]
Moving variable declarations in asf_build_simple_index() to clarify&prettify code.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18543
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Fri, 17 Apr 2009 08:43:04 +0000 (08:43 +0000)]
ac3dec: reorder output channels to SMPTE channel order
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18542
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 17 Apr 2009 08:42:08 +0000 (08:42 +0000)]
Change tgq_decode_mb function arguments from using int8_t to uint8_t, this does
not really change the code (x86_64/gcc-4.3.3 results stay unchanged) but avoids
several casts and an aliasing violation that broke decoding at least on
PPC64/gcc-4.1.2.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18541
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Fri, 17 Apr 2009 08:39:11 +0000 (08:39 +0000)]
ac3enc: reorder input channels to AC-3 channel order
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18540
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jai_menon [Thu, 16 Apr 2009 16:54:35 +0000 (16:54 +0000)]
Add my public key fingerprint to MAINTAINERS.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18539
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Thu, 16 Apr 2009 12:46:06 +0000 (12:46 +0000)]
Remove unused audio_pts field from ea demuxer struct
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18538
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Thu, 16 Apr 2009 12:39:14 +0000 (12:39 +0000)]
Remove unused code from Westwood VQA/AUD demuxer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18537
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 16 Apr 2009 10:34:14 +0000 (10:34 +0000)]
Do not add -fno-common to CFLAGS on DOS, it is unneeded.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18536
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Thu, 16 Apr 2009 08:39:13 +0000 (08:39 +0000)]
Add guaranteed alignment for loading dest pixels in avg_pixels16_neon
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18535
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Thu, 16 Apr 2009 07:34:52 +0000 (07:34 +0000)]
VC1 loop filter uses the frame quantizer not the mb quantizer
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18534
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 16 Apr 2009 04:46:44 +0000 (04:46 +0000)]
Support broken avc nal encapsulation.
Fixes issue987.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18533
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Thu, 16 Apr 2009 02:28:49 +0000 (02:28 +0000)]
flacenc: write initial blocksize to STREAMINFO header instead of current
blocksize.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18532
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Thu, 16 Apr 2009 00:41:31 +0000 (00:41 +0000)]
Replace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
thread "[PATCH] RTSP-MS 15/15: move packet_time_start zero value
assignment in asf.c".
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18531
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 15 Apr 2009 20:18:02 +0000 (20:18 +0000)]
Clarify which exact variant of ISO 639 is used. (The ISO spec explicitly
requires this to be clear)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18530
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reynaldo [Wed, 15 Apr 2009 19:37:35 +0000 (19:37 +0000)]
[COSMETIC] Correct a minor nit. Should be clearer now.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18529
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reynaldo [Wed, 15 Apr 2009 19:28:28 +0000 (19:28 +0000)]
Fix possibly harmful outbound addressing. Patch by Kenan Gillet.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18528
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 19:10:16 +0000 (19:10 +0000)]
avg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
pixels, not (dst+pix)>>1.
This makes the mmx functions bitexact with the C functions.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18527
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 15 Apr 2009 17:29:20 +0000 (17:29 +0000)]
Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18526
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Wed, 15 Apr 2009 13:04:34 +0000 (13:04 +0000)]
Send dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Real wants OPTIONS) while the connection is idle, otherwise it will
be aborted after a short period (usually a minute). See the thread
"[PATCH] rtsp.c: keep-alive" on the mailinglist.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18525
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 15 Apr 2009 11:51:02 +0000 (11:51 +0000)]
Explain the sort order for changelog entries.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18524
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 06:41:08 +0000 (06:41 +0000)]
OGG demuxer: ensure that there's pages to read for duration calculation in
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18523
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 06:23:40 +0000 (06:23 +0000)]
Altivec version of avg_no_rnd_vc1_chroma_mc8
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18522
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 06:22:17 +0000 (06:22 +0000)]
Split VC1 loop filter into separate functions for h/v and size
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18521
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 06:20:22 +0000 (06:20 +0000)]
Move VC1 loop filter to DSPContext
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18520
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Wed, 15 Apr 2009 02:25:42 +0000 (02:25 +0000)]
VC1: extend MMX qpel MC to include MMX2 avg qpel
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18519
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Tue, 14 Apr 2009 23:56:10 +0000 (23:56 +0000)]
VC1: add and use avg_no_rnd chroma MC functions
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18518
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Tue, 14 Apr 2009 23:55:39 +0000 (23:55 +0000)]
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18517
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Tue, 14 Apr 2009 22:33:46 +0000 (22:33 +0000)]
Cosmetics: Split long line.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18516
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Tue, 14 Apr 2009 22:30:11 +0000 (22:30 +0000)]
Fix two icc warnings #188: enumerated type mixed with another type.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18515
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Tue, 14 Apr 2009 22:21:53 +0000 (22:21 +0000)]
Fix icc warning #188: enumerated type mixed with another type.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18514
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Tue, 14 Apr 2009 22:19:43 +0000 (22:19 +0000)]
Fix icc warning #188: enumerated type mixed with another type.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18513
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
vitor [Tue, 14 Apr 2009 21:03:41 +0000 (21:03 +0000)]
For every line, copy 3*width bytes instead of linesize[0] to avoid
problems with padding.
Fix issue 959
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18512
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Tue, 14 Apr 2009 19:26:33 +0000 (19:26 +0000)]
VC1: Do qpel when needed for both MVs in a B frame
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18511
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Tue, 14 Apr 2009 15:25:11 +0000 (15:25 +0000)]
mingw32: FFmpeg now passes -fno-common automatically.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18510
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Tue, 14 Apr 2009 15:01:46 +0000 (15:01 +0000)]
Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
qualification task, see "RTP/Vorbis payload implementation (GSoC qual
task)" thread on mailinglist.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18509
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Tue, 14 Apr 2009 13:22:40 +0000 (13:22 +0000)]
Increase the SDP buffer size (again!) and also increase the temporary
buffer size of the fmtp parameter buffer. For Vorbis RT(S)P, these
contain full Vorbis headers, which can be up to 12kb each, formatted
in base64, so 16kb total. Patch required for proper Vorbis/RTP playback,
submitted as GSoC qualification task in the thread "RTP/Vorbis payload
implementation (GSoC qual task)" by Colin McQuillan m.niloc googlemail
com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18508
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
sdrik [Tue, 14 Apr 2009 08:48:47 +0000 (08:48 +0000)]
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
This avoids a division by zero in '[in]fifo,scale[out]'
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18507
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Tue, 14 Apr 2009 04:07:35 +0000 (04:07 +0000)]
Mark src constant in copy_block*().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18506
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Tue, 14 Apr 2009 03:48:26 +0000 (03:48 +0000)]
Support audio sample formats than S16 when encoding a small last frame.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18505
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 14 Apr 2009 00:20:52 +0000 (00:20 +0000)]
set pkt duration for last smaller frame, should fix alac in m4a muxing
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18504
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 14 Apr 2009 00:12:54 +0000 (00:12 +0000)]
fix indentation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18503
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 14 Apr 2009 00:12:29 +0000 (00:12 +0000)]
avoid strcmp NULL, fix segv on mingw
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18502
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Mon, 13 Apr 2009 22:54:21 +0000 (22:54 +0000)]
win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18501
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 21:22:19 +0000 (21:22 +0000)]
fix indentation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18500
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 13 Apr 2009 20:44:42 +0000 (20:44 +0000)]
Fix skip_put_bits() buf_ptr increment.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18499
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
koorogi [Mon, 13 Apr 2009 18:07:02 +0000 (18:07 +0000)]
Skip loop iterations which are no-ops due to data1[-lag..-1] being zero.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18498
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 13 Apr 2009 16:59:38 +0000 (16:59 +0000)]
Rename pbBufPtr() to put_bits_ptr().
The new name is more readable and consistent with the FFmpeg naming
style.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18497
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 13 Apr 2009 16:47:17 +0000 (16:47 +0000)]
Do not use full include path for get_bits.h, since the header is in
the same directory.
Consistent with r16260.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18496
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jai_menon [Mon, 13 Apr 2009 16:23:54 +0000 (16:23 +0000)]
flacenc : do not #include libavutil/lls.h since lpc code is now
separate.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18495
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 13 Apr 2009 16:20:26 +0000 (16:20 +0000)]
Rename bitstream.h to get_bits.h.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18494
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jai_menon [Mon, 13 Apr 2009 15:11:40 +0000 (15:11 +0000)]
alacenc : cosmetics : remove misleading comment
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18493
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 04:02:51 +0000 (04:02 +0000)]
seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18487
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:55:26 +0000 (03:55 +0000)]
move audio buffers declarations and free them in av_exit
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18486
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:47:12 +0000 (03:47 +0000)]
move freeing code before exiting because of signal
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18485
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:43:29 +0000 (03:43 +0000)]
free options contexts in av_exit, valgrind should be happy now
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18484
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:38:55 +0000 (03:38 +0000)]
Set frame defaults in try_decode_frame.
Fix:
==22211== Conditional jump or move depends on uninitialised value(s)
==22211== at 0x811E692: ff_print_debug_info (mpegvideo.c:1137)
==22211== by 0x82E6A7B: decode_frame (h264.c:7897)
==22211== by 0x80F2823: avcodec_decode_video2 (utils.c:564)
[...]
==22211== Uninitialised value was created by a stack allocation
==22211== at 0x8064AA3: try_decode_frame (utils.c:1845)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18483
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:35:32 +0000 (03:35 +0000)]
fix indentation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18482
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:33:39 +0000 (03:33 +0000)]
fix indentation and remove whitespace after return
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18481
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:32:02 +0000 (03:32 +0000)]
reindent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18480
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 13 Apr 2009 03:29:19 +0000 (03:29 +0000)]
Init state to -1 in h264 parser.
Fix:
==22063== Conditional jump or move depends on uninitialised value(s)
==22063== at 0x811A4B7: ff_find_start_code (mpegvideo.c:99)
==22063== by 0x82F5B74: parse_nal_units (h264_parser.c:132)
==22063== by 0x82F5A68: h264_parse (h264_parser.c:261)
[...]
==22063== Uninitialised value was created by a stack allocation
==22063== at 0x82F5AF5: parse_nal_units (h264_parser.c:112)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18479
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Sun, 12 Apr 2009 22:48:44 +0000 (22:48 +0000)]
Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18478
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reynaldo [Sun, 12 Apr 2009 21:48:43 +0000 (21:48 +0000)]
Fix wrong size computation for buffer. Patch is part of
netgem's changeset.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18477
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Sun, 12 Apr 2009 21:45:26 +0000 (21:45 +0000)]
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18476
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Sun, 12 Apr 2009 21:42:55 +0000 (21:42 +0000)]
Remove AltiVec optimizations for Snow. They are hindering the development
of Snow, which is still in flux.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18475
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sun, 12 Apr 2009 20:43:52 +0000 (20:43 +0000)]
Fix 2 access units in a packet mp4s.
Fixes issue944 and possibly others.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18474
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sun, 12 Apr 2009 20:40:18 +0000 (20:40 +0000)]
Get rid of the non sensical idea of using the current picture for missing
reference pictures.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18473
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sun, 12 Apr 2009 20:21:23 +0000 (20:21 +0000)]
Factorize field_end() out.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18472
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sun, 12 Apr 2009 13:58:03 +0000 (13:58 +0000)]
Assert that the first list1 entry is a reference frame.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18471
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 13:17:37 +0000 (13:17 +0000)]
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
thus avoiding potential memleaks and pointless memcpys.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18470
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 12:25:53 +0000 (12:25 +0000)]
Use void * instead of uint8_t * for the destination buffer for dsp.bswap_buf
where easily possible (mimic, eatqi, 4xm).
This allows to avoid a typecast.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18469
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 12:03:12 +0000 (12:03 +0000)]
av_destruct_packet_nofree deprecation explained in APIchanges
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18468
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 09:33:38 +0000 (09:33 +0000)]
Use AVERROR(ENOMEM) instead of AVERROR_NOMEM / -1 in eatqi and mimic decoders
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18467
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sun, 12 Apr 2009 09:06:17 +0000 (09:06 +0000)]
Document pbBufPtr().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18466
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 09:04:12 +0000 (09:04 +0000)]
remove useless wrapper
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18465
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 08:53:22 +0000 (08:53 +0000)]
Move ea demuxer messages that are irrelevant to ordinary users from
AV_LOG_INFO to AV_LOG_DEBUG.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18464
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 08:52:16 +0000 (08:52 +0000)]
remove useless wrapper
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18463
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 12 Apr 2009 08:49:20 +0000 (08:49 +0000)]
Slightly improve/correct description of wc3_pal_lookup
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18462
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sun, 12 Apr 2009 08:35:26 +0000 (08:35 +0000)]
Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18461
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sun, 12 Apr 2009 04:01:03 +0000 (04:01 +0000)]
Disable metadata reading, yes id like to know what this code is good for
and this is the easiest way to. It would be alot of messy code we can drop
if it is useless.
As a sideeffect this fixes issue977.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18460
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jbr [Sun, 12 Apr 2009 03:26:20 +0000 (03:26 +0000)]
Add names for 5.0 and 5.1 back speaker channel layouts.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18459
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 03:08:46 +0000 (03:08 +0000)]
replace DEBUG_SI with DEBUG and use dprintf
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18458
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 02:39:16 +0000 (02:39 +0000)]
Set stream type to ac3 if registration descriptor is present.
Based on patch by Nico Sabi, nicola dot sabbi at poste dot it
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18457
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 02:32:02 +0000 (02:32 +0000)]
simplify registration descriptor parsing with bytstream get functions
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18456
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 02:19:40 +0000 (02:19 +0000)]
Ok, ts demuxer is more complicated than I thought
Revert r18454 and fix correctly #700
Stop parsing if end of buffer is reached while reading
patch by Björn Axelsson, bjorn dot axelsson at intinor dot se
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18455
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 01:37:34 +0000 (01:37 +0000)]
fix end of buffer check, fix hang_read_header.h264.ts
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18454
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sun, 12 Apr 2009 00:25:37 +0000 (00:25 +0000)]
fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18453
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 22:38:00 +0000 (22:38 +0000)]
Simplify packet duplication code in ff_interleave_add_packet.
Behaviour only changes if pkt->destuct neither av_destruct_packet,
av_destruct_packet_nofree nor NULL, in which case the new code avoids a double free.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18452
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 22:04:52 +0000 (22:04 +0000)]
Fix initialization of avpkt in output_packet().
Patch by Thilo Borgmann thilo.surname AT googlemaildotcom.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18451
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 21:45:57 +0000 (21:45 +0000)]
Fix "unrecognized WC3 chunk" debug output which was broken r18444 due to sign expansion.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18450
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 21:14:29 +0000 (21:14 +0000)]
Fix documentation for avcodec_encode_audio(), in the case of PCM audio
the output buffer size may be less than FF_MIN_BUFFER_SIZE.
Patch by John Fletcher john.surname AT rd . bbc . co . uk.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18449
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 21:04:26 +0000 (21:04 +0000)]
Document the 'size' parameter of set_put_bits_buffer_size().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18448
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 21:01:30 +0000 (21:01 +0000)]
Document ff_put_string().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18447
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 20:48:56 +0000 (20:48 +0000)]
wc3movie: return partial packets if not all data can be read.
This is consistent with other demuxer's behaviour and avoids a memleak.
It also returns the error from av_get_packet instead of always AVERROR(EIO).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18446
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b