removed duplicate header settings

This commit is contained in:
Moritz Bunkus 2003-02-16 20:19:48 +00:00
parent 0869e30b3e
commit fc1dbfa15e

View File

@ -13,7 +13,7 @@
/*!
\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
\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;
mp3_header_t mp3header;
if (packetno == 0)
set_header();
add_to_buffer(buf, size);
while ((packet = get_mp3_packet(&header, &mp3header)) != NULL) {
if ((4 - ((header >> 17) & 3)) != 3) {