aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 23:01:19 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2009-02-14 23:01:19 +0000
commit4acfdcab26bd224e00e068cc90206341fd2446b3 (patch)
treed022b553732676cf17422c336781af0eebfae319 /libavcodec
parentce0e60a108caa6655cfa399bc503d87b780b71d7 (diff)
downloadffmpeg-4acfdcab26bd224e00e068cc90206341fd2446b3.tar.gz
Cosmetics
Originally committed as revision 17294 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 1d7eddd262..6cf03356de 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1643,7 +1643,7 @@ static int mpeg_field_start(MpegEncContext *s){
// MPV_frame_start will call this function too,
// but we need to call it on every field
if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration)
- if( ff_xvmc_field_start(s,avctx) < 0)
+ if(ff_xvmc_field_start(s,avctx) < 0)
return -1;
return 0;
@@ -2378,9 +2378,9 @@ static int decode_chunks(AVCodecContext *avctx,
if(s2->first_slice){
s2->first_slice=0;
- if(mpeg_field_start(s2) < 0)
+ if(mpeg_field_start(s2) < 0)
return -1;
- }
+ }
if(!s2->current_picture_ptr){
av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n");
return -1;