Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
76faff6e
Commit
76faff6e
authored
15 years ago
by
Luca Abeni
Browse files
Options
Downloads
Patches
Plain Diff
Add support for mp3 over RTP in rtpdec.c
Originally committed as revision 20916 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ce293510
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/rtpdec.c
+1
-0
1 addition, 0 deletions
libavformat/rtpdec.c
with
1 addition
and
0 deletions
libavformat/rtpdec.c
+
1
−
0
View file @
76faff6e
...
@@ -486,6 +486,7 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
...
@@ -486,6 +486,7 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
// at this point, the RTP header has been stripped; This is ASSUMING that there is only 1 CSRC, which in't wise.
// at this point, the RTP header has been stripped; This is ASSUMING that there is only 1 CSRC, which in't wise.
switch
(
st
->
codec
->
codec_id
)
{
switch
(
st
->
codec
->
codec_id
)
{
case
CODEC_ID_MP2
:
case
CODEC_ID_MP2
:
case
CODEC_ID_MP3
:
/* better than nothing: skip mpeg audio RTP header */
/* better than nothing: skip mpeg audio RTP header */
if
(
len
<=
4
)
if
(
len
<=
4
)
return
-
1
;
return
-
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment