Mercurial > mplayer.hg
view libmpcodecs/ae_toolame.h @ 24681:1ecf2ff1d512
in update_stats() removed a wrong 'else' that would prevent h264 headers to be recognized:
all 0x12x headers were accounted for only in num_elementary_packets12x.
Fixes detection of certain H264 in ES/PS streams
author | nicodvb |
---|---|
date | Thu, 04 Oct 2007 17:15:06 +0000 |
parents | 92772475ed8d |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef MPAE_TOOLAME_H #define MPAE_TOOLAME_H #include "ae.h" #include <toolame.h> typedef struct { toolame_options *toolame_ctx; int channels, srate, bitrate; int vbr; int16_t left_pcm[1152], right_pcm[1152]; } mpae_toolame_ctx; int mpae_init_toolame(audio_encoder_t *encoder); #endif