Aaron Graham
72dcd48c19
avformat/asfenc: honor the maximum of 63 payloads
Fixes Ticket3634
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a8bc175dd9
avformat/mp3dec: check the number of frames per buffer size
Fixes misdetection of issue3327-libc-2.17.so
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b3b505c73b
avformat/utils: if the id3 tag is too large for data after it to become available, use the full AVPROBE_SCORE_EXTENSION if extension matches
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d05588e21e
avformat/utils: limit probe score in the id3 case only if there is a chance that data after the id3 tag will become available
Fixes ticket3327 (sample.mp3)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
ab21acecc7
Use Matroska document version 2 for WebM files if possible.
Google's plugin for the Internet Explorer refuses to play
files with another document version.
Fixes ticket #3583 .
12 years ago
Aman Gupta
72fed6d122
avformat/mpegtsenc: fix minor typo in omit_video_pes_length description
Signed-off-by: Aman Gupta <ffmpeg@tmm1.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
dc6b99d6b2
avformat/movenc: Check ff_put_wav_header() return code
Fixes CID1212260
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Elio 'Flameeyes' Pettenò
a7b554f863
rtpdec: make the NTP time values unsigned.
As per RFC3550, section 4, the NTP time is provided as 64-bit unsigned
integer, so follow the same logic here.
Reviewed-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
15 years ago
Michael Niedermayer
0c2a6dabce
avformat/rtmpproto: add FFMIN() to av_strlcpy()
Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
0bacfa8d37
rtmpproto: Check the buffer sizes when copying app/playpath strings
As pointed out by Reimar Döffinger.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Lukasz Marek
ce1eefe691
lavf: use av_fifo_freep
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
12 years ago
Michael Niedermayer
134206ca7a
avformat/utils: fix const warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
cd20b93e2f
avformat/h263dec/h263_probe: Check TR
Fixes missdetection of Misdetection_345.mp3
Fixes missdetection of Misdetection_421.mp3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3ad21c50af
avformat/h263dec/h263_probe: Check PSC bit 9 and 13 in
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
04b15a6055
avformat/h263dec: shift data in state to make more bits available to probe
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Uwe L. Korn
7ce3bd9614
rtmpproto: Support alternative slist parameter in rtmp URLs
Support the URL scheme where the playpath is in an RTMP URL is
passed as the slist argument and the app is given infront of the
query part of the URL:
rtmp://host[:port]/[app]?slist=[playpath]
(other arguments in the query part are stripped as they are not used)
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
1394e0a9e0
avformat/segment: Use av_malloc_array()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Marton Balint
6c5375100c
mpegts: always reset pes packet state on new packet
Fixes ticket #3584 .
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
a78274329c
mpegts: unref buffer in reset_pes_packet_state
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
d7ca914988
mpegts: factorize pes packet state reset function
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
e2752de344
mpegts: fix indentation after last commit
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
9ba8debce9
mpegts: only emit new packets if data buffer exists
I don't think this can acutally happen in the current code, but better safe
than sorry.
Fixes Coverity CID 732217.
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Marton Balint
a82e87618f
mpegts: remove uneeded buf_size check
It is already ensured by the loop condition
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Michael Niedermayer
47550e62bf
avformat/astenc: avoid using AVCodecContext.frame_number
Theres no gurantee that the user application has initialized it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
ae8e2d7634
avisynth: set duration of audio streams
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Lukasz Marek
c9a12fdd2d
lavf/mux: pass options to nested structs of priv data
This is continuation of commit 330d547e
Nested struct is set in two places.
Previous commit set nested struct only in one case.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e94b08f002
avformat: add AV_EF_IGNORE_ERR
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
c2b0ce70ad
Initialize riff and wav size fields to -1 instead of 0.
WMP doess not play the output files if the fields are
set to 0 and not overwritten (using pipe output).
Fixes ticket #3346 .
12 years ago
Luca Barbato
dcbfb7805a
probe: Support AAC_LATM in set_codec_from_probe_data
12 years ago
Luca Barbato
f66d0c57b1
latm: Add a probe function
12 years ago
Carl Eugen Hoyos
4116cbeaf5
Fix oga muxer standalone compilation.
12 years ago
Lukasz Marek
330d547ef3
lavf/mux: pass options to nested structs of priv data
This commit allows to benefit from implementing child_next
callback for muxers' AVClasses.
Without that, options cannot be set in nested structs.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
12 years ago
Peter Ross
be098f6237
avformat/wtvdec: ignore mpeg2 extradata
Files produced by windows media center contain meaningless mpeg1 sequence
header. The mpeg2 decoder detects the presence mpeg1 sequence header start
codes and attempts to decode the stream as mpeg1. (This problem introduced
in 73a2d16b.)
Fixes ticket #3601 .
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
b7dd250b75
avformat/vobsub: use av_make_q().
12 years ago
Clément Bœsch
6a3a7d7af1
avformat/vobsub: remove pointless FAIL macro.
12 years ago
Anton Khirnov
ef9732162c
rmdec: do not export anything to AVCodecContext.codec_name
That field will be deprecated and the value that is written there is not
particularly useful.
12 years ago
Anton Khirnov
6072184e70
asfenc: use codec descriptors instead of AVCodecs to write codec info
Also, stop using AVCodecContext.codec_name as fallback, since it will be
deprecated.
Changes the result of the lavf-asf test (and its associated seektest),
since 'msmpeg4v3' gets written instead of just 'msmpeg4'.
12 years ago
Anton Khirnov
92e4b643df
oggparseskeleton: do not use AVCodecContext.codec_name
That field is undocumented, of dubious use, and will be deprecated.
12 years ago
Anton Khirnov
18f2514c40
mov: export stsd Compressorname in metadata
Stop using the undocumented to-be-deprecated AVCodecContext.codec_name
field.
12 years ago
Anton Khirnov
141fdc763c
matroska: add the Opus mapping
12 years ago
Anton Khirnov
a1aa37dd0b
matroskaenc: write CodecDelay
12 years ago
Michael Niedermayer
91736025b2
avformat/avidec: set average frame rate from header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
82ccefb904
avformat/nut: support storing RFC 3389 comfort noise
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
eb3b5501e8
matroskadec: read the CodecDelay element
12 years ago
Luca Barbato
7d027b9d6d
librtmp: Map native options to librtmp ones when possible
Makes the two protocols nearly seamless.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
7266e24f17
hls: Sync the file number with the start sequence
12 years ago
Luca Barbato
a16431034d
hls: Factor the sequence computation
12 years ago
Luca Barbato
c7603b3c24
hls: Print start_number as first sequence value
The option now behaves as expected.
12 years ago
Luca Barbato
87a3ea3192
segment: Report the current media sequence
Useful for debugging mostly.
12 years ago
Luca Barbato
344f7b5a7e
hls: Report the current media sequence
Useful for debugging mostly.
12 years ago