OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db158f0
)
rtpdec_mpa_robust: Move .enc_name to the start of the struct
author
Martin Storsjö
<martin@martin.st>
Mon, 23 Feb 2015 19:51:59 +0000
(21:51 +0200)
committer
Martin Storsjö
<martin@martin.st>
Tue, 24 Feb 2015 14:22:04 +0000
(16:22 +0200)
This makes it match the other depacketizers.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_mpa_robust.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_mpa_robust.c
b/libavformat/rtpdec_mpa_robust.c
index
b3eda38
..
ebf1b72
100644
(file)
--- a/
libavformat/rtpdec_mpa_robust.c
+++ b/
libavformat/rtpdec_mpa_robust.c
@@
-214,11
+214,11
@@
static int mpa_robust_parse_packet(AVFormatContext *ctx, PayloadContext *data,
}
RTPDynamicProtocolHandler ff_mpeg_audio_robust_dynamic_handler = {
+ .enc_name = "mpa-robust",
.codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = AV_CODEC_ID_MP3ADU,
.init = mpa_robust_init,
.alloc = mpa_robust_new_context,
.free = mpa_robust_free_context,
.parse_packet = mpa_robust_parse_packet,
- .enc_name = "mpa-robust",
};