Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
66bb91c0
Commit
66bb91c0
authored
Nov 07, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: mpegaudio: clear some warnings
parent
31ecffa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/packetizer/mpegaudio.c
modules/packetizer/mpegaudio.c
+4
-0
No files found.
modules/packetizer/mpegaudio.c
View file @
66bb91c0
...
...
@@ -343,6 +343,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* Need more data */
return
NULL
;
}
/* fallthrough */
case
STATE_SYNC
:
/* New frame, set the Presentation Time Stamp */
...
...
@@ -361,6 +362,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
}
}
p_sys
->
i_state
=
STATE_HEADER
;
/* fallthrough */
case
STATE_HEADER
:
/* Get MPGA frame header (MPGA_HEADER_SIZE bytes) */
...
...
@@ -407,6 +409,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
}
p_sys
->
i_state
=
STATE_NEXT_SYNC
;
/* fallthrough */
case
STATE_NEXT_SYNC
:
/* Check if next expected frame contains the sync word */
...
...
@@ -545,6 +548,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
return
NULL
;
}
p_sys
->
i_state
=
STATE_SEND_DATA
;
/* fallthrough */
case
STATE_SEND_DATA
:
if
(
!
(
p_buf
=
GetOutBuffer
(
p_dec
,
&
p_out_buffer
))
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment