| Branch: | Revision:

ffmpeg / libavformat / rmdec.c @ d7fb5a18

History | View | Annotate | Download (27.2 KB)

# Date Author Comment
b9b2b8c9 12/14/2008 10:26 PM Ronald S. Bultje

Use get_buffer() and url_fskip() for some loops of get_byte()s. See discussion in ML thread
"[PATCH] rmdec.c: use get_buffer and skip_bytes instead of loops of get_byte".

Originally committed as revision 16139 to svn://

127ed7b0 12/14/2008 10:24 PM Ronald S. Bultje

Reindent something that looks weird.

Originally committed as revision 16138 to svn://

1edddc99 12/13/2008 09:40 PM Ronald S. Bultje

Split RMContext into RMDemux/MuxContext and make them private in rmdec/enc.c.
Reason for this is that there are no shared entries in the demuxer/muxer
context, making it a mystery as to why it was shared between the two. See
"[PATCH] clean rmdemux/muxcontext" patch on mailinglist....

a15ebf34 12/13/2008 09:37 PM Ronald S. Bultje

Don't access RMContext directly in rdt.c. Rather, use the return value of
ff_rm_parse_packet() to indicate whether more audio packets are available
in the demuxer from the last RM frame, and save that in the RDT parsing
context. See patch/discussion in "[PATCH] rdt.c: don't access RMContext"...

76f940b2 12/11/2008 06:48 PM Ronald S. Bultje

Fix indenting.

Originally committed as revision 16056 to svn://

fcc995a5 11/17/2008 02:20 PM Ronald S. Bultje

Add ByteIOContext argument to public ff_rm_* functions so that we can
specify the data source as function argument instead of in s->pb before
calling the function. Discussed in ML thread "[PATCH] fix small memleak
in rdt.c".

Originally committed as revision 15849 to svn://

f23938f5 10/29/2008 12:16 AM Michael Niedermayer

Check sub_packet_size against 0 to avoid div by zero later.
Fixes issue473

Originally committed as revision 15739 to svn://

2426bb96 09/26/2008 12:12 PM Benjamin Larsson

add ok parts to the rm demuxer for SIPRO support

Originally committed as revision 15426 to svn://

b93dd838 09/23/2008 06:24 AM Vitor Sessak

Add support for RVTR fourCC

Originally committed as revision 15386 to svn://

ff13ba92 09/07/2008 01:21 AM Ronald S. Bultje

Add dynamic payload handlers to rdt.c. These follow the same API as the ones
in rtpdec.c, so that they can be shared and used in the same way in rtsp.c.
The handlers, since they are specific for RDT, are registered in rdt.c and
a new registration function is thus called from allformats.c....

15995030 09/03/2008 12:07 AM Ronald S. Bultje

Move av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
shared between the RM demuxer and the RTSP/RDT parser; both use the same
timebase. See discussion in "[PATCH] rmdec.c: move av_set_pts_info()" on ML.

Originally committed as revision 15164 to svn://

79d5045d 09/03/2008 12:05 AM Ronald S. Bultje

Use chunk-size in function calling mdpr_read_codecdata() rather than in the
function itself. This way, old-style (.ra4) RTSP/RDT OpaqueData chunks can
be parsed using this function as well (they don't have the size bits). See
discussion on ML in "[PATCH] rmdec.c - small read_mdpr_codecdata() API...

07cb073b 06/23/2008 08:52 AM Diego Biurrun

Remove unused variable, fixes the warning:
libavformat/rmdec.c:280: warning: unused variable 'i'

Originally committed as revision 13909 to svn://

ccafd472 06/20/2008 05:16 PM Baptiste Coudurier

factorize read_header failure freeing code

Originally committed as revision 13837 to svn://

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
patch by Stefano Sabatini, stefano.sabatini-lala
along with some spelling/consistency fixes for the long names by me

Originally committed as revision 13649 to svn://

437fd77b 06/01/2008 04:25 PM Panagiotis Issaris

Check whether the memory allocation for extradata succeeded. Fixes issue 472.

Originally committed as revision 13603 to svn://

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://

fd31550d 04/09/2008 11:19 PM Michael Niedermayer

Fix seeking in rm.

Originally committed as revision 12779 to svn://

badbe09a 01/17/2008 08:48 PM Roberto Togni

Fix forgotten braces from r11039

Originally committed as revision 11552 to svn://

9b41eb37 01/16/2008 10:47 PM Diego Biurrun

Remove some spaces to keep certain people's eyes from hurting.

Originally committed as revision 11544 to svn://

c807e68f 01/06/2008 10:50 PM Diego Biurrun

cosmetics: Add another pair of parentheses to aid readability.

Originally committed as revision 11437 to svn://

0fd36362 01/04/2008 01:00 PM Ronald S. Bultje

Make three rm demuxer functions non static.
Patch by Ronald S. Bultje rsbultje gmail com
Original thread: [FFmpeg-devel] [PATCH] Realmedia / RTSP (RDT)
Date: 12/28/2007 10:19 PM

Originally committed as revision 11392 to svn://

8f8fae80 01/02/2008 06:53 PM Diego Biurrun

cosmetics: Reindent.

Originally committed as revision 11375 to svn://

b83a8424 01/02/2008 06:53 PM Ronald S. Bultje

Merge double-nested if into && condition.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 11374 to svn://

ab19baef 12/04/2007 11:43 PM Roberto Togni


Originally committed as revision 11165 to svn://

e3052ce7 12/02/2007 05:41 PM Roberto Togni

Revert r10892, it's wrong and no longer needed to prevent crashes

Originally committed as revision 11127 to svn://

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://

2b013568 11/19/2007 08:28 PM Roberto Togni

Replace realloc with free+malloc, the previous content of the buffer is
not needed

Originally committed as revision 11065 to svn://

e35033e6 11/19/2007 12:02 AM Roberto Togni


Originally committed as revision 11056 to svn://

69434d2f 11/19/2007 12:02 AM Roberto Togni

No need to update pos, it's not used after that line

Originally committed as revision 11055 to svn://

6887cb8b 11/18/2007 10:58 PM Roberto Togni

Cleanup: remove ssize

Originally committed as revision 11054 to svn://

52537534 11/18/2007 10:49 PM Roberto Togni

Check for memory allocation failure of temp buffer

Originally committed as revision 11053 to svn://

e11d0145 11/18/2007 10:40 PM Roberto Togni

Optimize memory management to create an av_packet from multiple slices:
- remove memmove to pack the data, instead copy only the used areas
from the temp buffer in their final position
- use the minimum possible size for the av_packet (relevant when some
slices are missing)...

27a2f87d 11/15/2007 09:13 PM Roberto Togni

1000l: Fix check for max slice number

Originally committed as revision 11040 to svn://

e29378ff 11/15/2007 09:04 PM Roberto Togni

Move dnet-ac3 byte-swapping code close to audio packet read code
Fixed version of patch in
[FFmpeg-devel] [PATCH 5/6] rmdec.c: move around rm_ac3_swap_bytes()

Originally committed as revision 11039 to svn://

5c470b91 11/08/2007 03:52 PM Ronald S. Bultje

Split ac3 byte swapping into a separate function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 4/6] rmdec.c: rm_ac3_swap_bytes()
Date: 11/05/2007 09:27 PM

Originally committed as revision 10964 to svn://

d4d1b5fb 11/08/2007 03:14 PM Ronald S. Bultje

Isolate caching of audio frames in its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 3/6] rmdec.c: ff_rm_retrieve_cache()
Date: 11/05/2007 09:25 PM

Originally committed as revision 10963 to svn://

66911b15 11/08/2007 03:09 PM Ronald S. Bultje

Change a stream indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10962 to svn://

afd302fa 11/08/2007 03:07 PM Ronald S. Bultje

Split out the packet parsing from the main function body in rmdec.c
into its own function
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread: Re: [FFmpeg-devel] [PATCH 2/6] rmdec.c: ff_rm_parse_frame()
Date: 11/05/2007 09:23 PM

Originally committed as revision 10961 to svn://

7e4b1611 11/08/2007 03:05 PM Ronald S. Bultje

Change parse indexer.
Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10960 to svn://

36c9e40a 11/08/2007 09:14 AM Benoit Fouet

Change ff_rm_read_mdpr_codecdata to get back to old behavior.

Originally committed as revision 10954 to svn://

ff1463dc 11/06/2007 04:02 PM Ronald S. Bultje

Split out the MDPR chunk reading into its own function.
Patch by Ronald S. Bultje: rsbultje gmail com
Original thread:[FFmpeg-devel] [PATCH 1/6] rmdec.c: ff_rm_read_mdpr_codecdata()
Date: 11/05/2007 09:21 PM

Originally committed as revision 10934 to svn://

d447fc31 11/03/2007 06:43 AM Kostya Shishkov

Seek regression for RM demuxer fix

Originally committed as revision 10907 to svn://

83c95cd4 11/01/2007 09:02 AM Kostya Shishkov

Revert get_num() to old behaviour in order to handle
incorrect RMs generated by lavf muxer.

Originally committed as revision 10892 to svn://

383b123e 10/21/2007 05:17 PM Kostya Shishkov

Demux full frames instead of sliced for RealVideo.
Some changes by Roberto Togni and blessed by him on IRC.

Originally committed as revision 10823 to svn://

bf415121 10/01/2007 07:48 PM Justin Ruggles

dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles

Originally committed as revision 10634 to svn://

1ddcd07f 09/06/2007 03:36 AM Kostya Shishkov

Set correct length for last slice in frame subpacket

Originally committed as revision 10420 to svn://

36cf20f5 07/28/2007 06:05 PM Ronald S. Bultje

Merge get_str() and get_str8() functions.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9818 to svn://

28263f5f 07/28/2007 06:02 PM Ronald S. Bultje

Fix get_str/get_str8() to also work if the target string is not long enough to
fit all data from the container string, and allow NULL as a string also to
simply skip the string altogether.
patch by Ronald S. Bultje, rsbultje gmail com

Originally committed as revision 9817 to svn://

6f3e0b21 07/19/2007 03:23 PM Panagiotis Issaris

Replace all occurrences of AVERROR_IO with AVERROR.

Originally committed as revision 9760 to svn://

34174abf 07/08/2007 01:42 PM Måns Rullgård

avoid uninitialised variable warning and clarify code

Originally committed as revision 9543 to svn://

75e61b0e 06/23/2007 11:10 PM Måns Rullgård

use new string functions
based on patch by Reimar Döffinger

Originally committed as revision 9401 to svn://

d6649b2a 05/30/2007 09:50 AM Aurelien Jacobs


Originally committed as revision 9158 to svn://

43e86914 05/30/2007 09:45 AM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 9157 to svn://

7b2a2ce5 05/30/2007 09:44 AM Aurelien Jacobs

split rm muxer and demuxer in their own files

Originally committed as revision 9156 to svn://