Clément Bœsch
613001d75f
Merge back some registering macros in all*.c.
...
This breaks the sed in configure:find_things(). Fixes regression from
c73c87b
. Fixes Ticket2079.
Found-by: jamal
12 years ago
Dave Yeo
925c9f444f
Fix OS/2 threading
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
d59d39e164
wavdec: fix duration calculation for files with invalid data size
...
Some wav files report a data size that is bigger than the actual file size.
Fall back to estimation from bitrate in such cases.
Fixes ticket #2065 .
Signed-off-by: James Almer <jamrial@gmail.com>
12 years ago
Luca Barbato
30a7648730
hlsenc: make segment number unsigned
...
It will overflow if somebody keeps streaming for a time long enough.
12 years ago
Luca Barbato
9b1370aced
hlsenc: do not add timestamps in different timebases
...
start_time is in stream timebase units while end_time is
in AV_TIME_BASE ones.
12 years ago
Luca Barbato
0448f26c97
hlsenc: keep the playlist to the correct number of items
...
Consider the corner case with a list size larger than the wrap
number.
12 years ago
Kanglin
27a15e0af6
hlsenc: make EXT-X-MEDIA-SEQUENCE always increase
12 years ago
Kanglin
0d8cc7a3b2
hlsenc: use the correct AV_TIME_BASE macro
...
recording_time is in AV_TIME_BASE units.
12 years ago
Luca Barbato
6dd93ee6f1
hlsenc: check append_entry return value
12 years ago
Luca Barbato
ae85d6c9c0
hlsenc: use the segment filename in the playlist entry
...
Avoid calling av_get_frame_filename twice, once to generate the
segment filename and once to generate the playlist.
12 years ago
Luca Barbato
66f7b4862f
hlsenc: use the basename to generate the list entries
...
The segment path is desumed from the playlist path, recording a
relative path in the playlist while serving the file could lead
to misleading results.
12 years ago
Paul B Mahol
3f8ee30e63
mmfenc: use ff_raw_write_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
f18d2137d6
aiffenc: use ff_raw_write_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
8ad010a7e0
soxenc: use ff_raw_write_packet()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a4b62f36c7
soxdec: use meaningful error codes
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
09401694db
soxenc: use ffio_fill
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a4912aa61e
soxenc: use FFALIGN
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
c73c87b412
cosmetics: Prettyprint codec/format/filter registration files
12 years ago
Diego Biurrun
5ad2f0bfb2
build: Add rtpenc_chain extra config option
...
Also fixes linking in various configs with only individual parts enabled
because the RTP muxer chaining code depends on the general RTP code,
which is now accounted for.
12 years ago
Paul B Mahol
507956824c
auenc: do not write invalid file size
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Stefano Sabatini
0156dd6530
lavf/segment: add segment_frames option
...
This is meant to address trac ticket #1483 .
12 years ago
Stefano Sabatini
7a8face9fb
lavf/segment: add reference_stream option
12 years ago
Jean First
7fc73d9ab7
rmdec: fix compiler warning for uninitialized variables
...
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
XBMC
4c41fc88df
mpegts: update AVProgram after pmt change
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Tomas Härdin
928727f951
mxfdec: Rescale audio stream duration from EditRate to SampleRate
...
Since 83cab07
audio stream time bases are based on SampleRate, not EditRate.
This fixes trac ticket #2029 and a few seeking issues.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1be8d0fbda
srt_probe: make buffer pointer const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f89f3d4a98
str_probe: make buffer related pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
28b9099ac1
pva_probe: make buffer related pointers and function arguments const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
59693ed96c
mxf_probe: make buffer related pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c8e5efb496
mpc8_probe: make buffer related pointers and function arguments const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
7a84664ffe
mp3_read_probe: make buffer related pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9d95deef61
microdvd_probe: make buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c3cb338955
mpegps_probe: make buffer related pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e1f9432644
loas_probe: make buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
29397c99e0
lmlm4_probe: make buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
23348647b2
ipmovie_probe: make buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4fcf6aa7a3
flac_probe: make buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
658bd6db7b
ac3_eac3_probe: mark buffer pointers const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d7e050b11d
adts_aac_probe: mark buffer pointers as const
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ec40d15d82
oggdec: fix warning: assignment discards qualifiers from pointer target type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
70d5cd103a
mcdec: suppress "warning: a/vst may be used uninitialized in this function"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e9c4f36c52
lavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d4d8d4f786
rl2: return EOF on EOF
...
Fixes Ticket1947
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
4a9f7d2bf9
hlsenc: Don't duplicate a string constant
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Stefano Sabatini
3193b13aa1
hlsenc: Allocate enough space for the pattern string
...
If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Paul B Mahol
4f5440adc2
NIST SPHERE demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
f3298f1299
Return proper error code after av_log_ask_for_sample()
12 years ago
Piotr Bandurski
9bbfcc2675
rmenc: write correct bytes per minute
...
improves playback of ac3 in RealPlayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Piotr Bandurski
76f126ba2e
rmdec: set bit rate for ra3
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
ba064ebe48
oggdec: check memory allocation
12 years ago