summaryrefslogtreecommitdiff
path: root/src/libffmpeg
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2006-09-18 18:56:56 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2006-09-18 18:56:56 +0000
commite37f9eb4029b1a85a3990975969f523cfe4db3bc (patch)
treed0d6d7077f9db5003b12a18de2de724dc05b4726 /src/libffmpeg
parent46eb77a2fa44d3ffc0da7f2df4e3d3908316067b (diff)
downloadxine-lib-e37f9eb4029b1a85a3990975969f523cfe4db3bc.tar.gz
xine-lib-e37f9eb4029b1a85a3990975969f523cfe4db3bc.tar.bz2
Added comment about the workaround.
CVS patchset: 8270 CVS date: 2006/09/18 18:56:56
Diffstat (limited to 'src/libffmpeg')
-rw-r--r--src/libffmpeg/video_decoder.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libffmpeg/video_decoder.c b/src/libffmpeg/video_decoder.c
index 95fb26389..8f6f70ab9 100644
--- a/src/libffmpeg/video_decoder.c
+++ b/src/libffmpeg/video_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_decoder.c,v 1.62 2006/09/18 18:51:08 tmattern Exp $
+ * $Id: video_decoder.c,v 1.63 2006/09/18 18:56:56 tmattern Exp $
*
* xine video decoder plugin using ffmpeg
*
@@ -154,6 +154,7 @@ static int get_buffer(AVCodecContext *context, AVFrame *av_frame){
this->is_direct_rendering_disabled = 1;
}
+ /* FIXME: why should i have to do that ? */
av_frame->data[0]= NULL;
av_frame->data[1]= NULL;
av_frame->data[2]= NULL;
@@ -170,6 +171,10 @@ static int get_buffer(AVCodecContext *context, AVFrame *av_frame){
_("ffmpeg_video_dec: unsupported frame dimensions, DR1 disabled.\n"));
this->is_direct_rendering_disabled = 1;
}
+ /* FIXME: why should i have to do that ? */
+ av_frame->data[0]= NULL;
+ av_frame->data[1]= NULL;
+ av_frame->data[2]= NULL;
return avcodec_default_get_buffer(context, av_frame);
}
}