diff options
author | Martin Storsjö <martin@martin.st> | 2015-02-23 21:51:59 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-02-24 16:22:04 +0200 |
commit | b651c9139e1ab222d5aab9151dcd7d6e40e49885 (patch) | |
tree | a8610382dabc096f04bdb8e6da8aeee7bb960a57 /libavformat/rtpdec_mpa_robust.c | |
parent | db158f0dd217cf839be8af195d66cf49a76537a8 (diff) | |
download | ffmpeg-b651c9139e1ab222d5aab9151dcd7d6e40e49885.tar.gz |
rtpdec_mpa_robust: Move .enc_name to the start of the struct
This makes it match the other depacketizers.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_mpa_robust.c')
-rw-r--r-- | libavformat/rtpdec_mpa_robust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_mpa_robust.c b/libavformat/rtpdec_mpa_robust.c index b3eda3850e..ebf1b7262c 100644 --- 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", }; |