Commit 1d7708f4 authored by mru's avatar mru

indentation


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6857 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4aac765c
...@@ -79,13 +79,13 @@ X264_frame(AVCodecContext *ctx, uint8_t *buf, int bufsize, void *data) ...@@ -79,13 +79,13 @@ X264_frame(AVCodecContext *ctx, uint8_t *buf, int bufsize, void *data)
x4->pic.img.i_plane = 3; x4->pic.img.i_plane = 3;
if (frame) { if (frame) {
for(i = 0; i < 3; i++){ for(i = 0; i < 3; i++){
x4->pic.img.plane[i] = frame->data[i]; x4->pic.img.plane[i] = frame->data[i];
x4->pic.img.i_stride[i] = frame->linesize[i]; x4->pic.img.i_stride[i] = frame->linesize[i];
} }
x4->pic.i_pts = frame->pts; x4->pic.i_pts = frame->pts;
x4->pic.i_type = X264_TYPE_AUTO; x4->pic.i_type = X264_TYPE_AUTO;
} }
if(x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL, if(x264_encoder_encode(x4->enc, &nal, &nnal, frame? &x4->pic: NULL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment