mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
nutdec: Remove unused variables
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e66a187638
commit
510b39c213
@ -168,7 +168,6 @@ static void build_frame_code(AVFormatContext *s)
|
|||||||
int start2 = start + (end - start) * stream_id / s->nb_streams;
|
int start2 = start + (end - start) * stream_id / s->nb_streams;
|
||||||
int end2 = start + (end - start) * (stream_id + 1) / s->nb_streams;
|
int end2 = start + (end - start) * (stream_id + 1) / s->nb_streams;
|
||||||
AVCodecContext *codec = s->streams[stream_id]->codec;
|
AVCodecContext *codec = s->streams[stream_id]->codec;
|
||||||
const AVCodecDescriptor *desc = avcodec_descriptor_get(codec->codec_id);
|
|
||||||
int is_audio = codec->codec_type == AVMEDIA_TYPE_AUDIO;
|
int is_audio = codec->codec_type == AVMEDIA_TYPE_AUDIO;
|
||||||
int intra_only = /*codec->intra_only || */ is_audio;
|
int intra_only = /*codec->intra_only || */ is_audio;
|
||||||
int pred_count;
|
int pred_count;
|
||||||
@ -420,7 +419,6 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc,
|
|||||||
{
|
{
|
||||||
NUTContext *nut = avctx->priv_data;
|
NUTContext *nut = avctx->priv_data;
|
||||||
AVCodecContext *codec = st->codec;
|
AVCodecContext *codec = st->codec;
|
||||||
const AVCodecDescriptor *desc = avcodec_descriptor_get(codec->codec_id);
|
|
||||||
|
|
||||||
ff_put_v(bc, i);
|
ff_put_v(bc, i);
|
||||||
switch (codec->codec_type) {
|
switch (codec->codec_type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user