History

avcodec/mpeg(picture|video_dec): Move comment to more appropriate place

Andreas Rheinhardt committed 3 years ago

Commit c77aee61 parent 52509f62 files · +2 −2Browse files

Showing the changes to libavcodec (2 of 2 files). Show all

Unified · Split

2 files
  1. libavcodec/mpegpicture.c +0 −2
  2. libavcodec/mpegvideo_dec.c +2 −0
libavcodec/mpegpicture.c+0−2
@@ -253,8 +253,6 @@ fail: · 252 unmodified lines
253253 void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *pic)
254254 {
255255 pic->tf.f = pic->f;
256− /* WM Image / Screen codecs allocate internal buffers with different
257− * dimensions / colorspaces; ignore user-defined callbacks for these. */
258256 if (avctx->codec_id != AV_CODEC_ID_WMV3IMAGE &&
259257 avctx->codec_id != AV_CODEC_ID_VC1IMAGE &&
260258 avctx->codec_id != AV_CODEC_ID_MSS2)
libavcodec/mpegvideo_dec.c+2−0
@@ -242,6 +242,8 @@ static int alloc_picture(MpegEncContext *s, Picture *pic) · 241 unmodified lines
242242
243243 pic->tf.f = pic->f;
244244
245+ /* WM Image / Screen codecs allocate internal buffers with different
246+ * dimensions / colorspaces; ignore user-defined callbacks for these. */
245247 if (avctx->codec_id != AV_CODEC_ID_WMV3IMAGE &&
246248 avctx->codec_id != AV_CODEC_ID_VC1IMAGE &&
247249 avctx->codec_id != AV_CODEC_ID_MSS2) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t