avformat/avisynth: Cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
d s 2013-04-09 15:38:27 -07:00 committed by Michael Niedermayer
parent ca3cef719e
commit 685617ac29
1 changed files with 4 additions and 4 deletions

View File

@ -407,10 +407,10 @@ static void avisynth_next_stream(AVFormatContext *s, AVStream **st, AVPacket *pk
static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt, int discard) { static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt, int discard) {
AviSynthContext *avs = s->priv_data; AviSynthContext *avs = s->priv_data;
AVS_VideoFrame *frame; AVS_VideoFrame *frame;
unsigned char* dst_p; unsigned char *dst_p;
const unsigned char* src_p; const unsigned char *src_p;
int n, i, plane, rowsize, planeheight, pitch, bits; int n, i, plane, rowsize, planeheight, pitch, bits;
const char* error; const char *error;
if (avs->curr_frame >= avs->vi->num_frames) if (avs->curr_frame >= avs->vi->num_frames)
return AVERROR_EOF; return AVERROR_EOF;
@ -481,7 +481,7 @@ static int avisynth_read_packet_audio(AVFormatContext *s, AVPacket *pkt, int dis
AVRational fps, samplerate; AVRational fps, samplerate;
int samples; int samples;
int64_t n; int64_t n;
const char* error; const char *error;
if (avs->curr_sample >= avs->vi->num_audio_samples) if (avs->curr_sample >= avs->vi->num_audio_samples)
return AVERROR_EOF; return AVERROR_EOF;