mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/avisynth: Cosmetics
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ca3cef719e
commit
685617ac29
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue