aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec_svq3.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-04-20 15:36:37 +0300
committerMartin Storsjö <martin@martin.st>2011-04-24 00:05:37 +0300
commit9261e6cf3fe579fa02a96761c8e81a77bb3d8b2e (patch)
tree35cadce6dbfeee1112fd60a2ed9c53456c4bfff0 /libavformat/rtpdec_svq3.c
parent89b503b55f2b2713f1c3cc8981102c1a7b663281 (diff)
downloadffmpeg-9261e6cf3fe579fa02a96761c8e81a77bb3d8b2e.tar.gz
rtp: Rename the open/close functions to alloc/free
This avoids clashes if we internally want to override the global open function. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_svq3.c')
-rw-r--r--libavformat/rtpdec_svq3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_svq3.c b/libavformat/rtpdec_svq3.c
index 8c0926212c..331434245e 100644
--- a/libavformat/rtpdec_svq3.c
+++ b/libavformat/rtpdec_svq3.c
@@ -128,7 +128,7 @@ RTPDynamicProtocolHandler ff_svq3_dynamic_handler = {
.enc_name = "X-SV3V-ES",
.codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = CODEC_ID_NONE, // see if (config_packet) above
- .open = svq3_extradata_new,
- .close = svq3_extradata_free,
+ .alloc = svq3_extradata_new,
+ .free = svq3_extradata_free,
.parse_packet = svq3_parse_packet,
};