summaryrefslogtreecommitdiff
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-11-17 14:28:12 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-11-17 14:28:12 +0000
commite269ab791d85f62e3e4e410d46041d76b52a7353 (patch)
treef93b869381afa8356afdf7b1c45bb264b96356bc /libavformat/rdt.c
parenta4b8cb3c55cbbaecd38b78ee7ade1732ee325ad7 (diff)
Prefix all ff_rdt_parse_header() arguments with a p, preparing for local
variables to temporary hold the values. Discussed in ML thread "[PATCH] RDT/Realmedia patches #2". Originally committed as revision 15851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index a6b64fd483..2907692823 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -172,8 +172,8 @@ rdt_load_mdpr (PayloadContext *rdt, AVStream *st, int rule_nr)
int
ff_rdt_parse_header(const uint8_t *buf, int len,
- int *set_id, int *seq_no, int *stream_id,
- int *is_keyframe, uint32_t *timestamp)
+ int *pset_id, int *pseq_no, int *pstream_id,
+ int *pis_keyframe, uint32_t *ptimestamp)
{
int consumed = 10;
@@ -242,11 +242,11 @@ ff_rdt_parse_header(const uint8_t *buf, int len,
* [2] http://www.wireshark.org/docs/dfref/r/rdt.html and
* http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-rdt.c
*/
- if (set_id) *set_id = (buf[0]>>1) & 0x1f;
- if (seq_no) *seq_no = AV_RB16(buf+1);
- if (timestamp) *timestamp = AV_RB32(buf+4);
- if (stream_id) *stream_id = (buf[3]>>1) & 0x1f;
- if (is_keyframe) *is_keyframe = !(buf[3] & 0x1);
+ if (pset_id) *pset_id = (buf[0]>>1) & 0x1f;
+ if (pseq_no) *pseq_no = AV_RB16(buf+1);
+ if (ptimestamp) *ptimestamp = AV_RB32(buf+4);
+ if (pstream_id) *pstream_id = (buf[3]>>1) & 0x1f;
+ if (pis_keyframe) *pis_keyframe = !(buf[3] & 0x1);
return consumed;
}