OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b1583
)
Check ff_xvmc_field_start() result in all cases.
author
Ivan Kalvachev
<ikalvachev@gmail.com>
Sat, 14 Feb 2009 22:46:20 +0000
(22:46 +0000)
committer
Ivan Kalvachev
<ikalvachev@gmail.com>
Sat, 14 Feb 2009 22:46:20 +0000
(22:46 +0000)
Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
81c7342
..
68bde9b
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-1648,7
+1648,8
@@
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(s->avctx->xvmc_acceleration)
- ff_xvmc_field_start(s,avctx);
+ if( ff_xvmc_field_start(s,avctx) < 0)
+ return -1;
#endif
return 0;