diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-15 23:45:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-15 23:45:45 +0000 |
commit | 620e8baffae8fafd14bbe1f2318e62ea6a06866a (patch) | |
tree | 81bef0f5382c658f8b602ab04e17a85ebc032de7 /ffplay.c | |
parent | 5885dda4c553eb00652af9f91ccd2d58072d6050 (diff) | |
download | ffmpeg-620e8baffae8fafd14bbe1f2318e62ea6a06866a.tar.gz |
fix indention
Originally committed as revision 8421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1366,26 +1366,26 @@ static int video_thread(void *arg) /* NOTE: ipts is the PTS of the _first_ picture beginning in this packet, if any */ - global_video_pkt_pts= pkt->pts; - len1 = avcodec_decode_video(is->video_st->codec, - frame, &got_picture, - pkt->data, pkt->size); - - if( (decoder_reorder_pts || pkt->dts == AV_NOPTS_VALUE) - && frame->opaque && *(uint64_t*)frame->opaque != AV_NOPTS_VALUE) - pts= *(uint64_t*)frame->opaque; - else if(pkt->dts != AV_NOPTS_VALUE) - pts= pkt->dts; - else - pts= 0; - pts *= av_q2d(is->video_st->time_base); + global_video_pkt_pts= pkt->pts; + len1 = avcodec_decode_video(is->video_st->codec, + frame, &got_picture, + pkt->data, pkt->size); + + if( (decoder_reorder_pts || pkt->dts == AV_NOPTS_VALUE) + && frame->opaque && *(uint64_t*)frame->opaque != AV_NOPTS_VALUE) + pts= *(uint64_t*)frame->opaque; + else if(pkt->dts != AV_NOPTS_VALUE) + pts= pkt->dts; + else + pts= 0; + pts *= av_q2d(is->video_st->time_base); // if (len1 < 0) // break; - if (got_picture) { - if (output_picture2(is, frame, pts) < 0) - goto the_end; - } + if (got_picture) { + if (output_picture2(is, frame, pts) < 0) + goto the_end; + } av_free_packet(pkt); if (step) if (cur_stream) |