Revision 5095aaa9 libavformat/swf.c

View differences:

libavformat/swf.c
267 267
                }
268 268
                audio_enc = enc;
269 269
            } else {
270
                av_log(enc, AV_LOG_ERROR, "SWF muxer only supports MP3\n");
270
                av_log(s, AV_LOG_ERROR, "SWF muxer only supports MP3\n");
271 271
                return -1;
272 272
            }
273 273
        } else {
......
276 276
                 enc->codec_id == CODEC_ID_MJPEG ) {
277 277
                video_enc = enc;
278 278
            } else {
279
                av_log(enc, AV_LOG_ERROR, "SWF muxer only supports VP6, FLV1 and MJPEG\n");
279
                av_log(s, AV_LOG_ERROR, "SWF muxer only supports VP6, FLV1 and MJPEG\n");
280 280
                return -1;
281 281
            }
282 282
        }

Also available in: Unified diff