diff options
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transcode.c b/transcode.c index 32e3d082af..33b1c7fc96 100644 --- a/transcode.c +++ b/transcode.c @@ -165,6 +165,9 @@ transcode_search_path(const char *from, const char *to, int found; int pathlen; + if (encoding_equal(from, to)) + return -1; + q = ALLOC(search_path_queue_t); q->enc = from; q->next = NULL; |