Unified · Split
| @@ -60,7 +60,7 @@ static int avisynth_read_header(AVFormatContext *s) · 59 unmodified lines | |||
| 60 | res = AVIFileOpen(&avs->file, filename_char, OF_READ|OF_SHARE_DENY_WRITE, NULL); | 60 | res = AVIFileOpen(&avs->file, filename_char, OF_READ|OF_SHARE_DENY_WRITE, NULL); |
| 61 | if (res != S_OK) | 61 | if (res != S_OK) |
| 62 | { | 62 | { |
| 63 | av_log(s, AV_LOG_ERROR, "AVIFileOpen failed with error %ld", res); | 63 | av_log(s, AV_LOG_ERROR, "AVIFileOpen failed with error %ld\n", res); |
| 64 | AVIFileExit(); | 64 | AVIFileExit(); |
| 65 | return -1; | 65 | return -1; |
| 66 | } | 66 | } |
| @@ -68,7 +68,7 @@ static int avisynth_read_header(AVFormatContext *s) · 1 unmodified line | |||
| 68 | res = AVIFileInfo(avs->file, &info, sizeof(info)); | 68 | res = AVIFileInfo(avs->file, &info, sizeof(info)); |
| 69 | if (res != S_OK) | 69 | if (res != S_OK) |
| 70 | { | 70 | { |
| 71 | av_log(s, AV_LOG_ERROR, "AVIFileInfo failed with error %ld", res); | 71 | av_log(s, AV_LOG_ERROR, "AVIFileInfo failed with error %ld\n", res); |
| 72 | AVIFileExit(); | 72 | AVIFileExit(); |
| 73 | return -1; | 73 | return -1; |
| 74 | } | 74 | } |