]>
rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
stefano [Sat, 11 Apr 2009 18:12:23 +0000 (18:12 +0000)]
Replace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18443
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 15:54:21 +0000 (15:54 +0000)]
Rename the 'put_zero' parameter of ff_put_string() to
'terminate_string'.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18442
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 14:49:46 +0000 (14:49 +0000)]
Add documentation for skip_put_bytes().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18441
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 14:47:35 +0000 (14:47 +0000)]
Doxygenate ff_copy_bits().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18440
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 14:19:09 +0000 (14:19 +0000)]
Factorize declaration for the two variants of put_bits().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18439
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 14:16:30 +0000 (14:16 +0000)]
2 INIT_VLC_USE_STATIC cases, carl missed.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18438
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 13:58:18 +0000 (13:58 +0000)]
get rid of INIT_VLC_USE_STATIC in h261.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18437
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 13:53:34 +0000 (13:53 +0000)]
Get rid of INIT_VLC_USE_STATIC in rv10/rv20.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18436
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 13:43:09 +0000 (13:43 +0000)]
Get rid of INIT_VLC_USE_STATIC in 4xm.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18435
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 13:40:39 +0000 (13:40 +0000)]
Get rid of INIT_VLC_USE_STATIC in asv1.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18434
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Sat, 11 Apr 2009 13:29:05 +0000 (13:29 +0000)]
Get rid of INIT_VLC_USE_STATIC in msmpeg4
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18433
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Sat, 11 Apr 2009 13:04:33 +0000 (13:04 +0000)]
Clarify documentation for put_bits_count().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18432
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 12:42:29 +0000 (12:42 +0000)]
Get rid of av_destruct_packet_nofree and use NULL instead.
It is still used in comparisons to keep ABI compatibility.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18431
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Sat, 11 Apr 2009 11:47:15 +0000 (11:47 +0000)]
Use INIT_VLC_USE_STATIC and not its value "1".
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18430
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 10:41:06 +0000 (10:41 +0000)]
Reindent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18429
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 11 Apr 2009 10:38:56 +0000 (10:38 +0000)]
Make electronicarts demuxer return partial frames, this is the default
behaviour of av_get_packet and should not be override without good reason.
As a side effect this fixes the memleak described in issue 956.
Also return the exact error code from av_get_packet instead of AVERROR(EIO).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18428
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 22:29:56 +0000 (22:29 +0000)]
Document align_put_bits().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18427
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 22:27:29 +0000 (22:27 +0000)]
Doxygenate flush_put_bits() documentation.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18426
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 22:14:45 +0000 (22:14 +0000)]
Doxygenate put_bits_count() documentation.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18425
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Fri, 10 Apr 2009 17:46:42 +0000 (17:46 +0000)]
Fix comment: gcc 2.95.3 binaries decode ac3 fine if SSE is available and
not disabled.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18424
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 17:30:42 +0000 (17:30 +0000)]
Doxygenate init_put_bits().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18423
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 17:23:38 +0000 (17:23 +0000)]
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18422
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 17:16:19 +0000 (17:16 +0000)]
Add support to CorePNG P-frames.
Patch by Thilo Borgmann thilo DOT borgmann A googlemail com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18421
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 17:12:36 +0000 (17:12 +0000)]
Replace rand() usage by av_lfg_get().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18420
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 15:16:11 +0000 (15:16 +0000)]
cosmetics: Align output columns.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18419
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 10 Apr 2009 14:30:04 +0000 (14:30 +0000)]
Loop up to MAX_THREADS instead of h->s.avctx->thread_count to free the thread
contexts, this avoids a crash when freeing the H.264 parser context introduced in
r18406, since h->s.avctx is NULL there.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18418
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 12:53:22 +0000 (12:53 +0000)]
Use the new avcodec_decode_* API.
Patch by Thilo Borgmann th_lo.borgm_n_@goog_email.co_.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18417
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Fri, 10 Apr 2009 12:49:53 +0000 (12:49 +0000)]
remove useless duplication of what av_new_stream() already does
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18416
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 12:18:04 +0000 (12:18 +0000)]
Add 'PNG1' to PNG fourcc codes.
Patch by Thilo Borgmann thilo DOT borgmann _AT_ gXXglemail.cXm.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18415
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 12:07:06 +0000 (12:07 +0000)]
Use the new avcodec_decode_* API.
Patch by Thilo Borgmann thilo.borgmann * googlemail ! com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18414
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 11:33:14 +0000 (11:33 +0000)]
Remove unused variables along with the related warnings.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18413
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 11:32:09 +0000 (11:32 +0000)]
Ignore .d and .ho files.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18412
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)]
Add forgotten void return type to ff_h264_free_context
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18411
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Fri, 10 Apr 2009 11:29:51 +0000 (11:29 +0000)]
Fix sigill on non-MMX2 CPUs.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18410
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 11:07:52 +0000 (11:07 +0000)]
Use the new avcodec_decode_* API.
Patch by Thilo Borgmann name.surname AT googlemail.com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18409
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Fri, 10 Apr 2009 11:03:06 +0000 (11:03 +0000)]
Make try_decode_frame() use the new avcodec_decode_* API.
Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18408
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 10 Apr 2009 07:17:30 +0000 (07:17 +0000)]
Make sure error resilience does not try to use unavailable reference frames.
Fixes the crash described in issue 706.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18407
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)]
Add a ff_h264_free_context function and call it from the H.264 parser.
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18406
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Fri, 10 Apr 2009 00:09:07 +0000 (00:09 +0000)]
Make sure mpeg2 has its height rounded up to 32 as that is needed
for iterlaced stuff.
This might have been exploitable when emu edge was not set though
note this bug has been introduced just a few days ago.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18405
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 21:53:48 +0000 (21:53 +0000)]
Dont use SSE2 SAD for snow as it requires more alignment than can be
easily provided.
Fixes issue315.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18404
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Thu, 9 Apr 2009 21:52:12 +0000 (21:52 +0000)]
Fix documentation for the "-ps" option
Patch by Martin Storsjö (martin AT martin DOT st)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18403
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Thu, 9 Apr 2009 21:48:45 +0000 (21:48 +0000)]
AAC packetiser cleanup: use consts instead of #defines
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18402
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Thu, 9 Apr 2009 21:39:07 +0000 (21:39 +0000)]
AAC packetiser cleanup: remove check for a condition that cannot happen
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18401
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Thu, 9 Apr 2009 21:37:11 +0000 (21:37 +0000)]
Fix two checks in the AAC packetiser, which were too conservative
Patch by Martin Storsjö (martin AT martin DOT st)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18400
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 21:19:25 +0000 (21:19 +0000)]
Make sure the next used frame is released so get_buffer() wont fail.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18399
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 21:17:53 +0000 (21:17 +0000)]
Move release_buffer() up so it is prior to a future call to it.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18398
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 20:44:18 +0000 (20:44 +0000)]
Factorize release_buffer()
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18397
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 20:23:13 +0000 (20:23 +0000)]
Make sure spatial_decomposition_count is not too large for picture size.
this led to an infinite loop in mirror().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18396
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 20:13:35 +0000 (20:13 +0000)]
Skip non intra frames that have no reference frames.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18395
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 19:45:10 +0000 (19:45 +0000)]
Make sure spatial_decomposition_count is >0.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18394
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 18:47:50 +0000 (18:47 +0000)]
Make sure the block array is of the correct size.
This might have been exploitable.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18393
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 18:37:26 +0000 (18:37 +0000)]
Check spatial_decomposition_count too, fixes another crash.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18392
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 18:29:54 +0000 (18:29 +0000)]
10l, forgot to remove old code, which broke snow.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18391
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 18:21:51 +0000 (18:21 +0000)]
Factorize check of read symbols.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18390
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 15:33:02 +0000 (15:33 +0000)]
Fix spatial_decomposition_type validity check.
Fixes infinite loop (did no investigate why exactly it got stuck).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18389
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 15:17:03 +0000 (15:17 +0000)]
Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18388
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 9 Apr 2009 15:11:48 +0000 (15:11 +0000)]
Give liblzo benchmark conditionals more descriptive names and add convenience
definitions along with instructions for changing them.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18387
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)]
Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18386
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Thu, 9 Apr 2009 14:16:22 +0000 (14:16 +0000)]
Fix memleak in nuv demuxer: free packet already allocated packet when
returning an error in nuv_packet.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18385
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 9 Apr 2009 11:54:13 +0000 (11:54 +0000)]
Remove unnecessary gcc_fixes.h #include.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18384
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Thu, 9 Apr 2009 10:06:54 +0000 (10:06 +0000)]
cosmetics: Reformat comment paragraph and fix a few typos in it.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18383
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 9 Apr 2009 00:13:59 +0000 (00:13 +0000)]
Fix -ss / -t interaction with -acodec copy.
Fixes issue203
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18382
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 8 Apr 2009 20:48:44 +0000 (20:48 +0000)]
Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spoting my
mistake.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18381
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Wed, 8 Apr 2009 20:26:18 +0000 (20:26 +0000)]
configure: Add --enable-runtime-cpudetect
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18380
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Wed, 8 Apr 2009 20:20:42 +0000 (20:20 +0000)]
Correctly set packet size for partial video packets in nuv demuxer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18379
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Wed, 8 Apr 2009 20:19:12 +0000 (20:19 +0000)]
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
and ensures the following padding is correctly initialized to 0.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18378
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Wed, 8 Apr 2009 16:01:10 +0000 (16:01 +0000)]
Reduce code duplication.
Patch by Zhentan Feng, spyfeng gmail
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18377
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Wed, 8 Apr 2009 12:37:29 +0000 (12:37 +0000)]
Document addition of new avcodec_decode_video2/audio3/subtitle2() API and
the deprecation of the old API calls.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18376
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Wed, 8 Apr 2009 07:16:14 +0000 (07:16 +0000)]
Add support for AMR audio in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18375
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Wed, 8 Apr 2009 03:38:59 +0000 (03:38 +0000)]
force sample for qcelp when not stored in mov, fix #968
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18374
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Wed, 8 Apr 2009 03:06:08 +0000 (03:06 +0000)]
Reindent after r18372.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18373
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Wed, 8 Apr 2009 03:04:57 +0000 (03:04 +0000)]
Add waveformat-extensible support in the wav muxer.
Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18372
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
superdump [Wed, 8 Apr 2009 01:45:44 +0000 (01:45 +0000)]
Clarify which time_base the relevant members of AVPacket use
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18371
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:34:05 +0000 (22:34 +0000)]
move codec tag tables near corresponding code
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18370
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:31:53 +0000 (22:31 +0000)]
cosmetics, reindent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18369
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:31:17 +0000 (22:31 +0000)]
cosmetics, add empty line and remove useless braces
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18368
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:28:39 +0000 (22:28 +0000)]
fix compilation, add missing parenthesis
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18367
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:26:47 +0000 (22:26 +0000)]
comment the ipod subtitle check
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18366
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:25:11 +0000 (22:25 +0000)]
invert condition to simplify code
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18365
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:23:15 +0000 (22:23 +0000)]
remove no more needed code, tag is set by default
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18364
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:21:43 +0000 (22:21 +0000)]
cosmetics, reindent, add empty lines
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18363
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 22:19:58 +0000 (22:19 +0000)]
split mov_find_codec_tag in separate per format functions
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18362
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Tue, 7 Apr 2009 21:59:16 +0000 (21:59 +0000)]
Improve grammar/comprehensibility of the lavu 50.2.0 entry.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18361
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Tue, 7 Apr 2009 21:25:02 +0000 (21:25 +0000)]
Always return 0 if read_packet is successful.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18360
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Tue, 7 Apr 2009 21:16:11 +0000 (21:16 +0000)]
Do not uselessly read version string into a buffer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18359
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Tue, 7 Apr 2009 21:10:10 +0000 (21:10 +0000)]
Describe read_alloc return value and required pkt handling to avoid memleaks
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18358
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Tue, 7 Apr 2009 20:52:37 +0000 (20:52 +0000)]
Error out also when reading nuv header returns with partial data and return
AVERROR(EIO) then.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18357
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 20:47:56 +0000 (20:47 +0000)]
set bits_per_coded_sample for rawvideo
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18356
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 7 Apr 2009 20:37:30 +0000 (20:37 +0000)]
override mov fourcc for pcm audio, this is safer when stream copying
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18355
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
superdump [Tue, 7 Apr 2009 19:29:00 +0000 (19:29 +0000)]
Fix second amr_nb_decode_frame() to also use the new AVPacket argument
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18354
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Tue, 7 Apr 2009 18:31:14 +0000 (18:31 +0000)]
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
AVPacket structure now resides also.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18353
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Tue, 7 Apr 2009 18:24:47 +0000 (18:24 +0000)]
fix vp5/vp6 decoding by using new prototype for decode function
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18352
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Tue, 7 Apr 2009 15:59:50 +0000 (15:59 +0000)]
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18351
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Tue, 7 Apr 2009 15:37:26 +0000 (15:37 +0000)]
Move AVPacket up a bit, so that structs/functions that include AVPacket can
themselves be reasonably positioned.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see mailinglist thread
"[FFmpeg-devel] Google Summer of Code participation".
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18350
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Tue, 7 Apr 2009 12:31:28 +0000 (12:31 +0000)]
use av_freep() instead of av_free() + =NULL.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18349
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Tue, 7 Apr 2009 12:28:41 +0000 (12:28 +0000)]
Fix the copyright year
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18348
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Tue, 7 Apr 2009 06:41:55 +0000 (06:41 +0000)]
Add support for H.263 video in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18347
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lucabe [Tue, 7 Apr 2009 06:37:12 +0000 (06:37 +0000)]
Do not return payload type 34 for H.263 (it is deprecated)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18346
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reynaldo [Tue, 7 Apr 2009 01:39:17 +0000 (01:39 +0000)]
Move scale factor computation to its own function. Patch by Kenan
Gillet.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18345
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 6 Apr 2009 21:45:02 +0000 (21:45 +0000)]
Try to honor even completely invalid motion vectors as far as is
easy.
Fixes issue961.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18344
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b