mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
removed duplicate header settings
This commit is contained in:
parent
0869e30b3e
commit
fc1dbfa15e
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file
|
\file
|
||||||
\version \$Id: p_mp3.cpp,v 1.1 2003/02/16 17:04:38 mosu Exp $
|
\version \$Id: p_mp3.cpp,v 1.2 2003/02/16 20:19:48 mosu Exp $
|
||||||
\brief MP3 output module
|
\brief MP3 output module
|
||||||
\author Moritz Bunkus <moritz @ bunkus.org>
|
\author Moritz Bunkus <moritz @ bunkus.org>
|
||||||
*/
|
*/
|
||||||
@ -198,9 +198,6 @@ int mp3_packetizer_c::process(char *buf, int size, int last_frame) {
|
|||||||
unsigned long header;
|
unsigned long header;
|
||||||
mp3_header_t mp3header;
|
mp3_header_t mp3header;
|
||||||
|
|
||||||
if (packetno == 0)
|
|
||||||
set_header();
|
|
||||||
|
|
||||||
add_to_buffer(buf, size);
|
add_to_buffer(buf, size);
|
||||||
while ((packet = get_mp3_packet(&header, &mp3header)) != NULL) {
|
while ((packet = get_mp3_packet(&header, &mp3header)) != NULL) {
|
||||||
if ((4 - ((header >> 17) & 3)) != 3) {
|
if ((4 - ((header >> 17) & 3)) != 3) {
|
||||||
|
Loading…
Reference in New Issue
Block a user